AP_RangeFinder: resolve gcs::send_text compiler warning

This commit is contained in:
Randy Mackay 2019-07-27 11:08:48 +09:00
parent 6a154c4e4c
commit 84b502b0c4
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ void AP_RangeFinder_PWM::check_pin()
// failed to attach interrupt
gcs().send_text(MAV_SEVERITY_WARNING,
"RangeFinder_PWM: Failed to attach to pin %u",
params.pin);
(unsigned int)params.pin);
return;
}
}