diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-09-03 09:46:36 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-09-06 12:22:44 +0200 |
commit | 54b4b1f85af465acb4627ec423599a6c3b4a6fad (patch) | |
tree | f3bad4aa3f81fc8edee24fdb5c1138f39f128297 /spec | |
parent | score: Remove TOD_TICKS_PER_SECOND_method() (diff) | |
download | rtems-54b4b1f85af465acb4627ec423599a6c3b4a6fad.tar.bz2 |
score: Add _TOD_Is_valid_new_time_of_day()
Move the TOD validation to the callers of _TOD_Set(). This avoids dead code in
case only rtems_clock_set() is used in an application because rtems_clock_set()
always calls _TOD_Set() with a valid time of day.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/build/cpukit/librtemscpu.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/build/cpukit/librtemscpu.yml b/spec/build/cpukit/librtemscpu.yml index 5957661bd7..16092df2cb 100644 --- a/spec/build/cpukit/librtemscpu.yml +++ b/spec/build/cpukit/librtemscpu.yml @@ -1390,6 +1390,7 @@ source: - cpukit/score/src/coresem.c - cpukit/score/src/coretod.c - cpukit/score/src/coretodadjust.c +- cpukit/score/src/coretodcheck.c - cpukit/score/src/coretodhookdata.c - cpukit/score/src/coretodhookregister.c - cpukit/score/src/coretodhookrun.c |