mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-09 08:37:58 +08:00
2009-10-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* clock/rtc.c: Add initializer (Silence warning).
This commit is contained in:
1 parent
b1d28ccc57
commit
61b5aec0d5
2 files changed
+5
-1
No files matched your search
@@ -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