AP_RSSI: resolve gcs::send_text compiler warning

This commit is contained in:
Randy Mackay 2019-07-27 11:07:18 +09:00
parent 64637dba8f
commit f211a0e40c
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,7 @@ void AP_RSSI::check_pwm_pin_rssi()
// failed to attach interrupt
gcs().send_text(MAV_SEVERITY_WARNING,
"RSSI: Failed to attach to pin %u",
rssi_analog_pin);
(unsigned int)rssi_analog_pin);
return;
}
}