ADD EventQueue for static_scheduling

This commit is contained in:
2024-11-17 19:13:06 +01:00
parent b52f476124
commit 0bd561b947
4 changed files with 98 additions and 2 deletions

View File

@@ -52,6 +52,9 @@ class BikeSystem {
// method called in main() for starting the system
void start();
// method called in main() for starting the sysytem with the event queue
void startWithEventQueue();
// method called for stopping the system
void stop();
@@ -68,6 +71,7 @@ class BikeSystem {
void resetTask();
void displayTask1();
void displayTask2();
void cpuTask();
// stop flag, used for stopping the super-loop (set in stop())
bool _stopFlag = false;