ArduPilot / ArduRemoteID

RemoteID support using OpenDroneID
GNU General Public License v2.0
100 stars 49 forks source link

Provide a pop up if the OTA upgrade fails #91

Closed BluemarkInnovations closed 1 year ago

BluemarkInnovations commented 1 year ago

In this PR, a pop up is shown if the OTA upgrade via the web interface fails. For instance if the wrong file is uploaded.

fail

tridge commented 1 year ago

i've been testing this by trying to load a fw with the wrong board ID and it still gives me success display, but doesn't update the fw

BluemarkInnovations commented 1 year ago

improved PR, solved a bug in the check_OTA_partition function.

tridge commented 1 year ago

@BluemarkInnovations thanks, I've fixed the PR to squash the commits, and have gone back to using a reference (no need to use a pointer for the board_id)

BluemarkInnovations commented 1 year ago

@BluemarkInnovations thanks, I've fixed the PR to squash the commits, and have gone back to using a reference (no need to use a pointer for the board_id)

Thanks, I wasn't familiar with references in C.