From 0ec735adde6f667d79daf37b7ef61f356050fa3c Mon Sep 17 00:00:00 2001 From: fastium Date: Mon, 6 Jan 2025 11:05:23 +0100 Subject: [PATCH] FIX unused variables --- multi_tasking/bike_system.cpp | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/multi_tasking/bike_system.cpp b/multi_tasking/bike_system.cpp index 98d84ee..112455d 100644 --- a/multi_tasking/bike_system.cpp +++ b/multi_tasking/bike_system.cpp @@ -39,27 +39,16 @@ namespace multi_tasking { -static constexpr std::chrono::milliseconds kGearTaskPeriod = 800ms; -static constexpr std::chrono::milliseconds kGearTaskDelay = 0ms; -static constexpr std::chrono::milliseconds kGearTaskComputationTime = 100ms; -static constexpr std::chrono::milliseconds kSpeedDistanceTaskPeriod = 400ms; -static constexpr std::chrono::milliseconds kSpeedDistanceTaskDelay = 0ms; // 0 or 100ms +static constexpr std::chrono::milliseconds kGearTaskComputationTime = 100ms; static constexpr std::chrono::milliseconds kSpeedDistanceTaskComputationTime = 200ms; static constexpr std::chrono::milliseconds kDisplayTask1Period = 1600ms; static constexpr std::chrono::milliseconds kDisplayTask1Delay = 300ms; static constexpr std::chrono::milliseconds kDisplayTask1ComputationTime = 200ms; -static constexpr std::chrono::milliseconds kResetTaskPeriod = 800ms; -static constexpr std::chrono::milliseconds kResetTaskDelay = 700ms; -static constexpr std::chrono::milliseconds kResetTaskComputationTime = 100ms; static constexpr std::chrono::milliseconds kTemperatureTaskPeriod = 1600ms; static constexpr std::chrono::milliseconds kTemperatureTaskDelay = 1100ms; static constexpr std::chrono::milliseconds kTemperatureTaskComputationTime = 100ms; -static constexpr std::chrono::milliseconds kDisplayTask2Period = 1600ms; -static constexpr std::chrono::milliseconds kDisplayTask2Delay = 1200ms; -static constexpr std::chrono::milliseconds kDisplayTask2ComputationTime = 100ms; static constexpr std::chrono::milliseconds kCPUTaskPeriod = 1600ms; static constexpr std::chrono::milliseconds kCPUTaskDelay = 0ms; -static constexpr std::chrono::milliseconds kCPUTaskComputationTime = 0ms; BikeSystem::BikeSystem() : _timer(),