mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
AP_Param: fixed build warning
This commit is contained in:
parent
5929b5fc33
commit
a9c570702c
@ -2025,10 +2025,10 @@ void AP_Param::load_embedded_param_defaults(bool last_pass)
|
|||||||
if (!vp) {
|
if (!vp) {
|
||||||
if (last_pass) {
|
if (last_pass) {
|
||||||
::printf("Ignored unknown param %s from embedded region (offset=%u)\n",
|
::printf("Ignored unknown param %s from embedded region (offset=%u)\n",
|
||||||
pname, ptr - param_defaults_data.data);
|
pname, unsigned(ptr - param_defaults_data.data));
|
||||||
hal.console->printf(
|
hal.console->printf(
|
||||||
"Ignored unknown param %s from embedded region (offset=%u)\n",
|
"Ignored unknown param %s from embedded region (offset=%u)\n",
|
||||||
pname, ptr - param_defaults_data.data);
|
pname, unsigned(ptr - param_defaults_data.data));
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user