ArduCopter: fix wrong printf format for 32 bits
"micros() - before" doesn't return a long value. Use "%u".
This commit is contained in:
parent
c397e550e2
commit
e9b6c76454
@ -1171,6 +1171,6 @@ void Copter::load_parameters(void)
|
||||
// Load all auto-loaded EEPROM variables
|
||||
AP_Param::load_all();
|
||||
AP_Param::convert_old_parameters(&conversion_table[0], ARRAY_SIZE(conversion_table));
|
||||
cliSerial->printf("load_all took %luus\n", micros() - before);
|
||||
cliSerial->printf("load_all took %uus\n", micros() - before);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user