From aadb3d68ca59f97bcea4117d647462c4b33c2b3a Mon Sep 17 00:00:00 2001 From: Mark van Renswoude Date: Sat, 20 May 2017 10:29:55 +0200 Subject: [PATCH] Reinitialize current mode after changing the range parameters so they are immediately reflected Marking this the 1.0 release --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 516aa17..0ef945f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -204,6 +204,8 @@ void handleSetRange(uint8_t* packet) udpServer.write(Command::SetRange); stairs->getRange(&udpServer); + + currentMode->init(stairs, currentTime); }