diff --git a/main/ble_bobby.h b/main/ble_bobby.h index e72c746..ccf926b 100644 --- a/main/ble_bobby.h +++ b/main/ble_bobby.h @@ -249,12 +249,15 @@ void RemoteControlCallbacks::onWrite(NimBLECharacteristic* pCharacteristic) if (blinkAnimation != newBlinkAnimation) blinkAnimation = newBlinkAnimation; #endif - modes::remoteControlMode.setCommand(RemoteCommand{ - .frontLeft = doc["fl"].as(), - .frontRight = doc["fr"].as(), - .backLeft = doc["bl"].as(), - .backRight = doc["br"].as() - }); + if (!simplified) + { + modes::remoteControlMode.setCommand(RemoteCommand{ + .frontLeft = doc["fl"].as(), + .frontRight = doc["fr"].as(), + .backLeft = doc["bl"].as(), + .backRight = doc["br"].as() + }); + } } #ifdef FEATURE_WIRELESS_CONFIG