From f429aae09e5b8eb1c2c88e7ebb67827769a1492b Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sat, 14 Jan 2023 23:18:54 +1100 Subject: [PATCH] AP_ESC_Telem: correct esc telem debug wrong format specifier --- libraries/AP_ESC_Telem/AP_ESC_Telem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_ESC_Telem/AP_ESC_Telem.cpp b/libraries/AP_ESC_Telem/AP_ESC_Telem.cpp index bfc2c301d7..92115d6016 100644 --- a/libraries/AP_ESC_Telem/AP_ESC_Telem.cpp +++ b/libraries/AP_ESC_Telem/AP_ESC_Telem.cpp @@ -483,7 +483,7 @@ void AP_ESC_Telem::update_rpm(const uint8_t esc_index, const float new_rpm, cons rpmdata.error_rate = error_rate; #ifdef ESC_TELEM_DEBUG - hal.console->printf("RPM: rate=%.1fhz, rpm=%d)\n", rpmdata.update_rate_hz, new_rpm); + hal.console->printf("RPM: rate=%.1fhz, rpm=%f)\n", rpmdata.update_rate_hz, new_rpm); #endif }