ADD reset button with its own dispatch queue

This commit is contained in:
fastium
2024-12-31 10:31:00 +01:00
parent 031b98a0f7
commit 34a57162ba
3 changed files with 71 additions and 10 deletions

View File

@@ -25,7 +25,6 @@
#pragma once
// from advembsof
#include "EventQueue.h"
#include "cpu_logger.hpp"
#include "display_device.hpp"
#include "mbed.h"
@@ -77,6 +76,7 @@ class BikeSystem {
void cpuTask();
// timer instance used for loggint task time and used by ResetDevice
std::chrono::microseconds _resetTime = std::chrono::microseconds::zero();
Timer _timer;
// data member that represents the device for manipulating the gear
GearDevice _gearDevice;