fixed day calculation

This commit is contained in:
kraus 2019-01-06 09:51:37 +01:00
parent 14088671f7
commit 8694114bcc
1 changed files with 2 additions and 1 deletions

View File

@ -362,7 +362,8 @@ ISR(WDT_vect)
wdt_min = 0;
wdt_hour++;
if ( wdt_hour >= 24 )
{
{
wdt_hour = 0;
wdt_day++;
}
}