summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-05-17 08:04:07 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-05-17 08:05:31 +0200
commit98cb84ea2fd5a65d3f98363a9ecaed012fbc2231 (patch)
tree937a9be4f5e96515b163fe0c12a1cfa281a34dc0
parentrtems: Fix task restart within interrupt context (diff)
downloadrtems-98cb84ea2fd5a65d3f98363a9ecaed012fbc2231.tar.bz2
arm/altera-cyclone-v: Fix compile error
Update #4406.
-rw-r--r--bsps/arm/altera-cyclone-v/rtc/rtc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bsps/arm/altera-cyclone-v/rtc/rtc.c b/bsps/arm/altera-cyclone-v/rtc/rtc.c
index 2ff9791871..779a093459 100644
--- a/bsps/arm/altera-cyclone-v/rtc/rtc.c
+++ b/bsps/arm/altera-cyclone-v/rtc/rtc.c
@@ -353,7 +353,7 @@ static int altera_cyclone_v_ds1339_get_time(int minor, rtems_time_of_day* tod)
temp_tod.month = ds1339_get_month(&time);
temp_tod.year = ds1339_get_year(&time);
- sc = _TOD_Validate(&temp_tod, TOD_ENABLE_TICKS_VALIDATION)
+ sc = _TOD_Validate(&temp_tod, TOD_ENABLE_TICKS_VALIDATION);
if (sc == RTEMS_SUCCESSFUL)
memcpy(tod, &temp_tod, sizeof(temp_tod));
}
@@ -736,7 +736,7 @@ static int altera_cyclone_v_m41st87_get_time(int minor, rtems_time_of_day* tod)
temp_tod.month = m41st87_get_month(&time);
temp_tod.year = m41st87_get_year(&time);
- sc = _TOD_Validate(&temp_tod);
+ sc = _TOD_Validate(&temp_tod, TOD_ENABLE_TICKS_VALIDATION);
if (sc == RTEMS_SUCCESSFUL)
memcpy(tod, &temp_tod, sizeof(temp_tod));