Attempt to make date and time changeable again.

This commit is contained in:
OBattler
2016-07-11 01:54:31 +02:00
parent d407b264e5
commit cb8b6e254b

View File

@@ -71,7 +71,6 @@ void nvr_onesec(void *p)
{ {
nvr_update_status = RTCUIP; nvr_update_status = RTCUIP;
if (!enable_sync) rtc_tick(); if (!enable_sync) rtc_tick();
getnvrtime();
nvr_dosave = 1; nvr_dosave = 1;
} }
} }
@@ -79,6 +78,7 @@ void nvr_onesec(void *p)
{ {
if (!(nvrram[RTCREGB] & RTCSET)) if (!(nvrram[RTCREGB] & RTCSET))
{ {
getnvrtime();
/* Clear update status. */ /* Clear update status. */
nvr_update_status = 0; nvr_update_status = 0;