diff Small_CPU/Src/scheduler.c @ 90:83857eb3b12b kittz

+- stable
author Dmitry Romanov <kitt@bk.ru>
date Fri, 23 Nov 2018 18:14:56 +0300
parents ff7775cc34c4
children b364c75005bb
line wrap: on
line diff
--- a/Small_CPU/Src/scheduler.c	Fri Nov 23 16:52:21 2018 +0300
+++ b/Small_CPU/Src/scheduler.c	Fri Nov 23 18:14:56 2018 +0300
@@ -181,7 +181,7 @@
 
 void scheduleSpecial_Evaluate_DataSendToSlave(void)
 {
-	schedule_check_resync();
+
 	global.dataSendToSlavePending = 0;
 	if(!global.dataSendToSlaveIsValid) return;
 	
@@ -284,22 +284,22 @@
 
 
 //	pressure_update();
-
+//
 //	compass_read();
 //	acceleration_read();
 //	compass_calc();
-
-
-//	copyPressureData();
-//	battery_gas_gauge_get_data();
-//	if(global.mode==MODE_CALIB)copyCompassData();
-//	copyCnsAndOtuData();
-//	copyTimeData();
-//	copyBatteryData();
-//	copyDeviceData();
-//	copyVpmCrushingData();
-//	deviceDataFlashValid = 1;
-//	scheduleUpdateDeviceData();
+//
+//
+	copyPressureData();
+	battery_gas_gauge_get_data();
+	if(global.mode==MODE_CALIB)copyCompassData();
+	copyCnsAndOtuData();
+	copyTimeData();
+	copyBatteryData();
+	copyDeviceData();
+	copyVpmCrushingData();
+//
+	scheduleUpdateDeviceData();
 
 
 }