AP_ESC_Telem: correct esc telem debug

wrong format specifier
This commit is contained in:
Peter Barker 2023-01-14 23:18:54 +11:00 committed by Andrew Tridgell
parent ccd700a990
commit f429aae09e
1 changed files with 1 additions and 1 deletions

View File

@ -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
}