From 702c76e88593dcd616e5a0e5e26e0d01119f7e85 Mon Sep 17 00:00:00 2001 From: Andy Piper Date: Tue, 6 Aug 2024 19:30:00 +0100 Subject: [PATCH] AP_MSP: use highest ESC temp rather than motor temp --- libraries/AP_MSP/AP_MSP_Telem_DJI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_MSP/AP_MSP_Telem_DJI.cpp b/libraries/AP_MSP/AP_MSP_Telem_DJI.cpp index bafa921bd0..f01bf7b0be 100644 --- a/libraries/AP_MSP/AP_MSP_Telem_DJI.cpp +++ b/libraries/AP_MSP/AP_MSP_Telem_DJI.cpp @@ -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();