ADD isr queue
This commit is contained in:
parent
7b5bcfc35e
commit
c4ff5361e9
@ -76,6 +76,10 @@ BikeSystem::BikeSystem() :
|
|||||||
|
|
||||||
void BikeSystem::start() {
|
void BikeSystem::start() {
|
||||||
|
|
||||||
|
// new thread dedicated for ISRs with its event queue
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
tr_info("Starting Super-Loop with event handling");
|
tr_info("Starting Super-Loop with event handling");
|
||||||
|
|
||||||
init();
|
init();
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
// from advembsof
|
// from advembsof
|
||||||
|
#include "EventQueue.h"
|
||||||
#include "display_device.hpp"
|
#include "display_device.hpp"
|
||||||
#include "task_logger.hpp"
|
#include "task_logger.hpp"
|
||||||
#include "cpu_logger.hpp"
|
#include "cpu_logger.hpp"
|
||||||
@ -106,6 +107,9 @@ class BikeSystem {
|
|||||||
|
|
||||||
// cpu logger to measure cpu usage
|
// cpu logger to measure cpu usage
|
||||||
advembsof::CPULogger _cpuLogger;
|
advembsof::CPULogger _cpuLogger;
|
||||||
|
|
||||||
|
// Event queues
|
||||||
|
EventQueue * _isrEventQueue;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace static_scheduling
|
} // namespace static_scheduling
|
||||||
|
Loading…
x
Reference in New Issue
Block a user