warning removed

This commit is contained in:
Bertrand Songis
2019-05-28 09:09:28 +02:00
parent 9e92114d72
commit 15c65a6c91
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -512,7 +512,7 @@ const char * FrskyChipFirmwareUpdate::sendUpgradeCommand(char command, uint32_t
return status == 0x00 ? nullptr : "Upgrade failed";
}
const char * FrskyChipFirmwareUpdate::sendUpgradeData(uint8_t index, uint8_t * data)
const char * FrskyChipFirmwareUpdate::sendUpgradeData(uint32_t index, uint8_t * data)
{
telemetryPortSetDirectionOutput();
+1 -1
View File
@@ -105,7 +105,7 @@ class FrskyChipFirmwareUpdate {
const char * waitAnswer(uint8_t & status);
const char * startBootloader();
const char * sendUpgradeCommand(char command, uint32_t packetsCount);
const char * sendUpgradeData(uint8_t index, uint8_t * data);
const char * sendUpgradeData(uint32_t index, uint8_t * data);
const char * doFlashFirmware(const char * filename);
};