AP_Logger: remove unused counter

This commit is contained in:
Andy Piper 2023-06-14 12:39:21 -04:00 committed by Peter Barker
parent d36149e1a8
commit d9869290ee

View File

@ -880,9 +880,7 @@ void AP_Logger_Block::io_timer(void)
io_timer_heartbeat = AP_HAL::millis();
next_sector++;
}
uint16_t blocks_erased = 0;
while (next_sector < sectors) {
blocks_erased++;
SectorErase(next_sector / sectors_in_block);
io_timer_heartbeat = AP_HAL::millis();
next_sector += sectors_in_block;