EIVE upstream #29
@ -567,7 +567,7 @@ void DeviceHandlerBase::setMode(Mode_t newMode, uint8_t newSubmode) {
|
|||||||
continueToNormal = false;
|
continueToNormal = false;
|
||||||
// TODO: Check whether the following two lines are okay to do so.
|
// TODO: Check whether the following two lines are okay to do so.
|
||||||
transitionSourceMode = MODE_ON;
|
transitionSourceMode = MODE_ON;
|
||||||
transitionSourceSubMode = submode;
|
transitionSourceSubMode = newSubmode;
|
||||||
mode = _MODE_TO_NORMAL;
|
mode = _MODE_TO_NORMAL;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user