diff Small_CPU/Inc/scheduler.h @ 144:6b83ca1225de FlipDisplay

Use one global structure for schedule data
author Ideenmodellierer
date Thu, 28 Feb 2019 20:05:17 +0100
parents 3db7389d49cc
children ee744c7160ce
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;