diff Small_CPU/Src/scheduler.c @ 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
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;
 }