mirror of https://github.com/ArduPilot/ardupilot
AP_MSP: use highest ESC temp rather than motor temp
This commit is contained in:
parent
f6984024c3
commit
b6717e541a
|
@ -91,7 +91,7 @@ MSPCommandResult AP_MSP_Telem_DJI::msp_process_out_esc_sensor_data(sbuf_t *dst)
|
|||
int16_t highest_temperature = 0;
|
||||
AP_ESC_Telem& telem = AP::esc_telem();
|
||||
if (!displaying_stats_screen()) {
|
||||
telem.get_highest_motor_temperature(highest_temperature);
|
||||
telem.get_highest_temperature(highest_temperature);
|
||||
} else {
|
||||
#if OSD_ENABLED
|
||||
AP_OSD *osd = AP::osd();
|
||||
|
|
Loading…
Reference in New Issue