mirror of https://github.com/ArduPilot/ardupilot
ACM: fixed a signed/unsigned warning
This commit is contained in:
parent
9ee3431928
commit
3c965ff1a2
|
@ -109,7 +109,7 @@ dump_log(uint8_t argc, const Menu::arg *argv)
|
||||||
last_log_num = DataFlash.find_last_log();
|
last_log_num = DataFlash.find_last_log();
|
||||||
|
|
||||||
if (dump_log == -2) {
|
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);
|
DataFlash.StartRead(count);
|
||||||
Serial.printf_P(PSTR("DF page, log file #, log page: %d,\t"), count);
|
Serial.printf_P(PSTR("DF page, log file #, log page: %d,\t"), count);
|
||||||
Serial.printf_P(PSTR("%d,\t"), DataFlash.GetFileNumber());
|
Serial.printf_P(PSTR("%d,\t"), DataFlash.GetFileNumber());
|
||||||
|
|
Loading…
Reference in New Issue