changeset 86:cc41b5eaf1a7 kittz

fix time&date after wakeup
author Dmitry Romanov <kitt@bk.ru>
date Wed, 21 Nov 2018 13:12:44 +0300
parents 923c4566a2a1
children e746bf846638
files Small_CPU/Src/scheduler.c ostc4pack/OSTC4_RTE.bin ostc4pack/OSTC4_RTE_upload.bin
diffstat 3 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/Small_CPU/Src/scheduler.c	Wed Nov 21 12:49:54 2018 +0300
+++ b/Small_CPU/Src/scheduler.c	Wed Nov 21 13:12:44 2018 +0300
@@ -297,12 +297,10 @@
 	copyBatteryData();
 	copyDeviceData();
 	copyVpmCrushingData();
+
+	deviceDataFlashValid = 1;
 	scheduleUpdateDeviceData();
 
-
-
-
-	deviceDataFlashValid = 1;
 }
 
 
Binary file ostc4pack/OSTC4_RTE.bin has changed
Binary file ostc4pack/OSTC4_RTE_upload.bin has changed