mirror of https://github.com/ArduPilot/ardupilot
ArduCopter: fix warning due to wrong type
"%s" expects a string. This works since the string in the struct is the first member so it's harmless.
This commit is contained in:
parent
5244559010
commit
c397e550e2
|
@ -132,7 +132,7 @@ int8_t Copter::setup_show(uint8_t argc, const Menu::arg *argv)
|
|||
|
||||
if(!param)
|
||||
{
|
||||
cliSerial->printf("Parameter not found: '%s'\n", argv[1]);
|
||||
cliSerial->printf("Parameter not found: '%s'\n", argv[1].str);
|
||||
return 0;
|
||||
}
|
||||
AP_Param::show(param, argv[1].str, type, cliSerial);
|
||||
|
|
Loading…
Reference in New Issue