mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2009-10-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* clock/rtc.c: Add initializer (Silence warning).
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2009-10-20 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* clock/rtc.c: Add initializer (Silence warning).
|
||||
|
||||
2009-05-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
|
||||
* clock/rtc.c, clock/tod.h: Update for new RTC driver interface.
|
||||
|
||||
@@ -97,7 +97,7 @@ void getRealTime(
|
||||
)
|
||||
{
|
||||
uint32_t days, rtc_reg;
|
||||
rtems_time_of_day tod_temp;
|
||||
rtems_time_of_day tod_temp = { 0, 0, 0 };
|
||||
int n, Leap_year;
|
||||
|
||||
rtc_reg = *((uint32_t volatile *)RTC_STAT);
|
||||
|
||||
Reference in New Issue
Block a user