Commit eb57adfa authored by Don Gagne's avatar Don Gagne

Remove broken rev checking

parent b25b06d6
...@@ -84,6 +84,9 @@ void PowerComponentController::_handleUASTextMessage(int uasId, int compId, int ...@@ -84,6 +84,9 @@ void PowerComponentController::_handleUASTextMessage(int uasId, int compId, int
return; return;
} }
#if 0
// FIXME: Cal version check is not working. Needs to be able to cancel, calibration
int firmwareRev = parts[0].toInt(); int firmwareRev = parts[0].toInt();
if (firmwareRev < _neededFirmwareRev) { if (firmwareRev < _neededFirmwareRev) {
emit oldFirmware(); emit oldFirmware();
...@@ -93,6 +96,7 @@ void PowerComponentController::_handleUASTextMessage(int uasId, int compId, int ...@@ -93,6 +96,7 @@ void PowerComponentController::_handleUASTextMessage(int uasId, int compId, int
emit newerFirmware(); emit newerFirmware();
return; return;
} }
#endif
} }
if (text == "Connect battery now") { if (text == "Connect battery now") {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment