Reinitialize current mode after changing the range parameters so they are immediately reflected
Marking this the 1.0 release
This commit is contained in:
parent
65e34bfdd1
commit
aadb3d68ca
@ -204,6 +204,8 @@ void handleSetRange(uint8_t* packet)
|
|||||||
|
|
||||||
udpServer.write(Command::SetRange);
|
udpServer.write(Command::SetRange);
|
||||||
stairs->getRange(&udpServer);
|
stairs->getRange(&udpServer);
|
||||||
|
|
||||||
|
currentMode->init(stairs, currentTime);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user