diff --git a/src/AutoPilotPlugins/PX4/PowerComponentController.cc b/src/AutoPilotPlugins/PX4/PowerComponentController.cc index ce17b810ec754660d3634474814e6e4dda759b32..76218fc39001ac66807ade96f100ded80c660685 100644 --- a/src/AutoPilotPlugins/PX4/PowerComponentController.cc +++ b/src/AutoPilotPlugins/PX4/PowerComponentController.cc @@ -84,6 +84,9 @@ void PowerComponentController::_handleUASTextMessage(int uasId, int compId, int return; } +#if 0 + // FIXME: Cal version check is not working. Needs to be able to cancel, calibration + int firmwareRev = parts[0].toInt(); if (firmwareRev < _neededFirmwareRev) { emit oldFirmware(); @@ -93,6 +96,7 @@ void PowerComponentController::_handleUASTextMessage(int uasId, int compId, int emit newerFirmware(); return; } +#endif } if (text == "Connect battery now") {