forked from Imagelibrary/rtems
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user