fixed day calculation
This commit is contained in:
parent
14088671f7
commit
8694114bcc
|
@ -362,7 +362,8 @@ ISR(WDT_vect)
|
|||
wdt_min = 0;
|
||||
wdt_hour++;
|
||||
if ( wdt_hour >= 24 )
|
||||
{
|
||||
{
|
||||
wdt_hour = 0;
|
||||
wdt_day++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue