dsiabled switching to normal mode during mode on transition
This commit is contained in:
parent
50b8bca6b7
commit
876a13ec37
@ -30,12 +30,7 @@ void RwHandler::doStartUp() {
|
|||||||
if (gpioComIF->pullHigh(enableGpio) != RETURN_OK) {
|
if (gpioComIF->pullHigh(enableGpio) != RETURN_OK) {
|
||||||
sif::debug << "RwHandler::doStartUp: Failed to pull enable gpio to high";
|
sif::debug << "RwHandler::doStartUp: Failed to pull enable gpio to high";
|
||||||
}
|
}
|
||||||
|
|
||||||
#if OBSW_SWITCH_TO_NORMAL_MODE_AFTER_STARTUP == 1
|
|
||||||
setMode(MODE_NORMAL);
|
|
||||||
#else
|
|
||||||
setMode(_MODE_TO_ON);
|
setMode(_MODE_TO_ON);
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void RwHandler::doShutDown() {
|
void RwHandler::doShutDown() {
|
||||||
|
Loading…
Reference in New Issue
Block a user