Some changes to the (AT) NVR code.

This commit is contained in:
OBattler
2019-11-19 04:47:00 +01:00
parent 0d97fadb6e
commit 26009044d7
2 changed files with 38 additions and 59 deletions

View File

@@ -8,7 +8,7 @@
*
* Implement a generic NVRAM/CMOS/RTC device.
*
* Version: @(#)nvr.c 1.0.18 2019/03/16
* Version: @(#)nvr.c 1.0.19 2019/11/19
*
* Authors: Fred N. van Kempen, <decwiz@yahoo.com>,
* David Hrdlička, <hrdlickadavid@outlook.com>
@@ -156,7 +156,7 @@ onesec_timer(void *priv)
nvr->onesec_cnt = 0;
}
timer_advance_u64(&nvr->onesec_time, (10000ULL * TIMER_USEC));
timer_advance_u64(&nvr->onesec_time, (uint64_t)(10000ULL * TIMER_USEC));
}