From cb8b6e254b5b240b33f8f065388f27fb073c3fe2 Mon Sep 17 00:00:00 2001 From: OBattler Date: Mon, 11 Jul 2016 01:54:31 +0200 Subject: [PATCH] Attempt to make date and time changeable again. --- src/nvr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nvr.c b/src/nvr.c index c8a7cce86..90d3c5a34 100644 --- a/src/nvr.c +++ b/src/nvr.c @@ -71,7 +71,6 @@ void nvr_onesec(void *p) { nvr_update_status = RTCUIP; if (!enable_sync) rtc_tick(); - getnvrtime(); nvr_dosave = 1; } } @@ -79,6 +78,7 @@ void nvr_onesec(void *p) { if (!(nvrram[RTCREGB] & RTCSET)) { + getnvrtime(); /* Clear update status. */ nvr_update_status = 0;