mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-23 00:04:02 -04:00
Plane: fixed two build warnings with clang
This commit is contained in:
parent
97022a4161
commit
7a5808276e
@ -1277,6 +1277,6 @@ void Plane::load_parameters(void)
|
|||||||
// Load all auto-loaded EEPROM variables
|
// Load all auto-loaded EEPROM variables
|
||||||
AP_Param::load_all();
|
AP_Param::load_all();
|
||||||
AP_Param::convert_old_parameters(&conversion_table[0], ARRAY_SIZE(conversion_table));
|
AP_Param::convert_old_parameters(&conversion_table[0], ARRAY_SIZE(conversion_table));
|
||||||
cliSerial->printf("load_all took %uus\n", micros() - before);
|
cliSerial->printf("load_all took %uus\n", (unsigned)(micros() - before));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -81,7 +81,7 @@ void Plane::init_ardupilot()
|
|||||||
|
|
||||||
cliSerial->printf("\n\nInit " FIRMWARE_STRING
|
cliSerial->printf("\n\nInit " FIRMWARE_STRING
|
||||||
"\n\nFree RAM: %u\n",
|
"\n\nFree RAM: %u\n",
|
||||||
hal.util->available_memory());
|
(unsigned)hal.util->available_memory());
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user