comparison 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
comparison
equal deleted inserted replaced
89:ff7775cc34c4 90:83857eb3b12b
179 } 179 }
180 180
181 181
182 void scheduleSpecial_Evaluate_DataSendToSlave(void) 182 void scheduleSpecial_Evaluate_DataSendToSlave(void)
183 { 183 {
184 schedule_check_resync(); 184
185 global.dataSendToSlavePending = 0; 185 global.dataSendToSlavePending = 0;
186 if(!global.dataSendToSlaveIsValid) return; 186 if(!global.dataSendToSlaveIsValid) return;
187 187
188 global.dataSendToMaster.confirmRequest.uw = 0; 188 global.dataSendToMaster.confirmRequest.uw = 0;
189 189
282 // } 282 // }
283 // } 283 // }
284 284
285 285
286 // pressure_update(); 286 // pressure_update();
287 287 //
288 // compass_read(); 288 // compass_read();
289 // acceleration_read(); 289 // acceleration_read();
290 // compass_calc(); 290 // compass_calc();
291 291 //
292 292 //
293 // copyPressureData(); 293 copyPressureData();
294 // battery_gas_gauge_get_data(); 294 battery_gas_gauge_get_data();
295 // if(global.mode==MODE_CALIB)copyCompassData(); 295 if(global.mode==MODE_CALIB)copyCompassData();
296 // copyCnsAndOtuData(); 296 copyCnsAndOtuData();
297 // copyTimeData(); 297 copyTimeData();
298 // copyBatteryData(); 298 copyBatteryData();
299 // copyDeviceData(); 299 copyDeviceData();
300 // copyVpmCrushingData(); 300 copyVpmCrushingData();
301 // deviceDataFlashValid = 1; 301 //
302 // scheduleUpdateDeviceData(); 302 scheduleUpdateDeviceData();
303 303
304 304
305 } 305 }
306 306
307 307