dsiabled switching to normal mode during mode on transition

This commit is contained in:
Robin Müller 2022-03-28 17:38:40 +02:00
parent 50b8bca6b7
commit 876a13ec37

View File

@ -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() {