mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_IOMCU: fixed build error on F7
This commit is contained in:
parent
721f3cd5d1
commit
0047807fbf
@ -330,7 +330,6 @@ bool AP_IOMCU::program(uint32_t fw_size)
|
||||
*/
|
||||
bool AP_IOMCU::verify_rev2(uint32_t fw_size)
|
||||
{
|
||||
ssize_t count;
|
||||
bool ret;
|
||||
size_t sent = 0;
|
||||
|
||||
@ -368,7 +367,7 @@ bool AP_IOMCU::verify_rev2(uint32_t fw_size)
|
||||
}
|
||||
}
|
||||
|
||||
sent += count;
|
||||
sent += n;
|
||||
|
||||
ret = get_sync();
|
||||
if (!ret) {
|
||||
|
Loading…
Reference in New Issue
Block a user