mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
ACM: fixed a signed/unsigned warning
This commit is contained in:
parent
596a1f43f4
commit
92f9c0b648
@ -109,7 +109,7 @@ dump_log(uint8_t argc, const Menu::arg *argv)
|
||||
last_log_num = DataFlash.find_last_log();
|
||||
|
||||
if (dump_log == -2) {
|
||||
for(int count=1; count<=DataFlash.df_NumPages; count++) {
|
||||
for(uint16_t count=1; count<=DataFlash.df_NumPages; count++) {
|
||||
DataFlash.StartRead(count);
|
||||
Serial.printf_P(PSTR("DF page, log file #, log page: %d,\t"), count);
|
||||
Serial.printf_P(PSTR("%d,\t"), DataFlash.GetFileNumber());
|
||||
|
Loading…
Reference in New Issue
Block a user