# HG changeset patch # User Ideenmodellierer # Date 1551380717 -3600 # Node ID 6b83ca1225de8e15e74e716574449c1069adb67f # Parent 466c8d9c5e43b4418abf65534c80dfb86dfb015b Use one global structure for schedule data diff -r 466c8d9c5e43 -r 6b83ca1225de Small_CPU/Inc/scheduler.h --- 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;