From 86084ecd06eac44fa9eeda1ff9c9b4f00dc9e88b Mon Sep 17 00:00:00 2001 From: ZanzyTHEbar Date: Mon, 26 Sep 2022 13:40:59 +0100 Subject: [PATCH] update - basic formatting --- ESP/lib/src/io/LEDManager/LEDManager.cpp | 4 ++-- ESP/tools/versioning | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ESP/lib/src/io/LEDManager/LEDManager.cpp b/ESP/lib/src/io/LEDManager/LEDManager.cpp index cbe6527..cbe7a75 100644 --- a/ESP/lib/src/io/LEDManager/LEDManager.cpp +++ b/ESP/lib/src/io/LEDManager/LEDManager.cpp @@ -66,8 +66,8 @@ void LEDManager::handleLED(StateManager *stateManager) if (ledStateMap.find(stateManager->getCurrentState()) != ledStateMap.end()) { BlinkPatterns_t blinkPatterns = ledStateMap[stateManager->getCurrentState()]; // Get the blink pattern for the current state - unsigned long currentMillis = millis(); // Get the current time - if (currentMillis - _previousMillis >= blinkPatterns.delayTime) // Check if the current time is greater than the previous time plus the delay time + unsigned long currentMillis = millis(); // Get the current time + if (currentMillis - _previousMillis >= blinkPatterns.delayTime) // Check if the current time is greater than the previous time plus the delay time { _previousMillis = currentMillis; for (int i = 0; i < blinkPatterns.times; i++) diff --git a/ESP/tools/versioning b/ESP/tools/versioning index 3e932fe..c24b6ae 100644 --- a/ESP/tools/versioning +++ b/ESP/tools/versioning @@ -1 +1 @@ -34 \ No newline at end of file +38 \ No newline at end of file