diff options
Diffstat (limited to 'bsps/shared/dev/rtc/rtc-support.c')
-rw-r--r-- | bsps/shared/dev/rtc/rtc-support.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsps/shared/dev/rtc/rtc-support.c b/bsps/shared/dev/rtc/rtc-support.c index 04b8f0c847..c0b639ec7c 100644 --- a/bsps/shared/dev/rtc/rtc-support.c +++ b/bsps/shared/dev/rtc/rtc-support.c @@ -255,7 +255,7 @@ int setRealTime( if (!RTC_Is_present()) return -1; - if (_TOD_Validate(tod) != RTEMS_SUCCESSFUL) + if (_TOD_Validate(tod, TOD_ENABLE_TICKS_VALIDATION) != RTEMS_SUCCESSFUL) return -1; RTC_Table[RTC_Minor].pDeviceFns->deviceSetTime(RTC_Minor, tod); |