warning removed
This commit is contained in:
@@ -512,7 +512,7 @@ const char * FrskyChipFirmwareUpdate::sendUpgradeCommand(char command, uint32_t
|
|||||||
return status == 0x00 ? nullptr : "Upgrade failed";
|
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();
|
telemetryPortSetDirectionOutput();
|
||||||
|
|
||||||
|
|||||||
@@ -105,7 +105,7 @@ class FrskyChipFirmwareUpdate {
|
|||||||
const char * waitAnswer(uint8_t & status);
|
const char * waitAnswer(uint8_t & status);
|
||||||
const char * startBootloader();
|
const char * startBootloader();
|
||||||
const char * sendUpgradeCommand(char command, uint32_t packetsCount);
|
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);
|
const char * doFlashFirmware(const char * filename);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user