diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-09-03 09:36:55 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-09-06 12:22:44 +0200 |
commit | c8e4de991d34222fd2cc9c732898e0a0727aee82 (patch) | |
tree | cec23b5a2467d6ada28486abf0a42064147446ad /cpukit/score | |
parent | score: Return status in _TOD_Adjust() (diff) | |
download | rtems-c8e4de991d34222fd2cc9c732898e0a0727aee82.tar.bz2 |
score: Remove TOD_TICKS_PER_SECOND_method()
Use _Watchdog_Ticks_per_second instead.
Diffstat (limited to 'cpukit/score')
-rw-r--r-- | cpukit/score/src/coretodtickspersec.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/cpukit/score/src/coretodtickspersec.c b/cpukit/score/src/coretodtickspersec.c deleted file mode 100644 index f4860975bc..0000000000 --- a/cpukit/score/src/coretodtickspersec.c +++ /dev/null @@ -1,30 +0,0 @@ -/** - * @file - * - * @ingroup RTEMSScoreTOD - * - * @brief This source file contains the implementation of - * TOD_TICKS_PER_SECOND_method(). - */ - -/* COPYRIGHT (c) 1989-2014. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#include <rtems/score/todimpl.h> -#include <rtems/config.h> - -uint32_t TOD_TICKS_PER_SECOND_method(void) -{ - return (TOD_MICROSECONDS_PER_SECOND / - rtems_configuration_get_microseconds_per_tick()); -} |