changeset 144:6b83ca1225de FlipDisplay

Use one global structure for schedule data
author Ideenmodellierer
date Thu, 28 Feb 2019 20:05:17 +0100
parents 466c8d9c5e43
children d5bbdcb32a14
files Small_CPU/Inc/scheduler.h
diffstat 1 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Small_CPU/Inc/scheduler.h	Thu Feb 28 19:38:36 2019 +0100
+++ b/Small_CPU/Inc/scheduler.h	Thu Feb 28 20:05:17 2019 +0100
@@ -75,6 +75,17 @@
 	long no_fly_time_minutes;
 } SBackup;
 
+typedef struct
+{
+	uint8_t counterSPIdata100msec;
+	uint8_t counterPressure100msec;
+	uint8_t counterCompass100msec;
+	uint8_t counterAmbientLight100msec;
+	uint16_t counterWireless1msec;
+	uint32_t tickstart;
+} SScheduleCtrl;
+
+
 /* Variables ---------------------------------------------------------*/
 extern SGlobal global;