ADD answer question 1

This commit is contained in:
fastium
2024-12-31 14:41:16 +01:00
parent f64b8bdd9a
commit 957860b2ff
2 changed files with 25 additions and 10 deletions

View File

@ -66,7 +66,7 @@ BikeSystem::BikeSystem()
_resetDevice(callback(this, &BikeSystem::onReset)),
_speedometer(_timer),
_cpuLogger(_timer),
_isrEventThread(osPriorityNormal, OS_STACK_SIZE, nullptr, "ISR_Event") {}
_isrEventThread(osPriorityAboveNormal, OS_STACK_SIZE, nullptr, "ISR_Event") {}
void BikeSystem::start() {
tr_info("Starting Super-Loop with event handling");
@ -144,7 +144,7 @@ void BikeSystem::init() {
}
// enable/disable task logging
_taskLogger.enable(true);
_taskLogger.enable(false);
}
void BikeSystem::gearUpTask() {