comparison 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
comparison
equal deleted inserted replaced
143:466c8d9c5e43 144:6b83ca1225de
73 { 73 {
74 long seconds_since_last_dive; 74 long seconds_since_last_dive;
75 long no_fly_time_minutes; 75 long no_fly_time_minutes;
76 } SBackup; 76 } SBackup;
77 77
78 typedef struct
79 {
80 uint8_t counterSPIdata100msec;
81 uint8_t counterPressure100msec;
82 uint8_t counterCompass100msec;
83 uint8_t counterAmbientLight100msec;
84 uint16_t counterWireless1msec;
85 uint32_t tickstart;
86 } SScheduleCtrl;
87
88
78 /* Variables ---------------------------------------------------------*/ 89 /* Variables ---------------------------------------------------------*/
79 extern SGlobal global; 90 extern SGlobal global;
80 91
81 92
82 /* Function prototypes -----------------------------------------------*/ 93 /* Function prototypes -----------------------------------------------*/