diff --git a/app/src/main/cpp/GPIOControl.h b/app/src/main/cpp/GPIOControl.h index b3f5226f..5bc283ad 100644 --- a/app/src/main/cpp/GPIOControl.h +++ b/app/src/main/cpp/GPIOControl.h @@ -173,18 +173,12 @@ public: static void setOtgState(bool on) { -#ifndef USING_N938 on ? TurnOn(CMD_SET_OTG_STATE) : TurnOff(CMD_SET_OTG_STATE); -#endif } static bool getOtgState() { -#ifndef USING_N938 return getInt(CMD_SET_OTG_STATE) != 0; -#else - return false; -#endif } static void setCam3V3Enable(bool enabled)