ADD answer question 1
This commit is contained in:
@ -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() {
|
||||
|
Reference in New Issue
Block a user