FIX kMaxGearSize and reset callback
This commit is contained in:
@ -62,7 +62,7 @@ static constexpr std::chrono::milliseconds kDisplayTask2ComputationTime = 100ms;
|
||||
static constexpr std::chrono::milliseconds kCPUTaskPeriod = 1600ms;
|
||||
static constexpr std::chrono::milliseconds kCPUTaskDelay = 1200ms;
|
||||
static constexpr std::chrono::milliseconds kCPUTaskComputationTime = 100ms;
|
||||
|
||||
|
||||
BikeSystem::BikeSystem()
|
||||
: _gearDevice(),
|
||||
_pedalDevice(),
|
||||
@ -178,7 +178,7 @@ void BikeSystem::speedDistanceTask() {
|
||||
_taskLogger.logPeriodAndExecutionTime(
|
||||
_timer, advembsof::TaskLogger::kSpeedTaskIndex, taskStartTime);
|
||||
}
|
||||
|
||||
|
||||
void BikeSystem::displayTask1() {
|
||||
auto taskStartTime = _timer.elapsed_time();
|
||||
|
||||
|
Reference in New Issue
Block a user