mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_ESC_Telem: correct esc telem debug
wrong format specifier
This commit is contained in:
parent
ccd700a990
commit
f429aae09e
@ -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;
|
rpmdata.error_rate = error_rate;
|
||||||
|
|
||||||
#ifdef ESC_TELEM_DEBUG
|
#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
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user