2009-10-20 Ralf Corsépius <ralf.corsepius@rtems.org>

* clock/rtc.c: Add initializer (Silence warning).
This commit is contained in:
Ralf Corsepius
2009-10-20 12:54:46 +00:00
parent b1d28ccc57
commit 61b5aec0d5
2 changed files with 5 additions and 1 deletions

View File

@@ -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.

View File

@@ -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);