diff --git a/libraries/AP_HAL_ChibiOS/CANFDIface.cpp b/libraries/AP_HAL_ChibiOS/CANFDIface.cpp index 4d258e1c46..c34b890ac2 100644 --- a/libraries/AP_HAL_ChibiOS/CANFDIface.cpp +++ b/libraries/AP_HAL_ChibiOS/CANFDIface.cpp @@ -1156,10 +1156,10 @@ void CANIface::get_stats(ExpandingString &str) STM32_FDCANCLK/1000000UL, _bitrate, unsigned(timings.prescaler), unsigned(timings.sjw), unsigned(timings.bs1), - unsigned(timings.bs2), timings.sample_point_permill/10.0f, + unsigned(timings.bs2), timings.sample_point_permill*0.1f, _fdbitrate, unsigned(fdtimings.prescaler), unsigned(fdtimings.sjw), unsigned(fdtimings.bs1), - unsigned(fdtimings.bs2), fdtimings.sample_point_permill/10.0f, + unsigned(fdtimings.bs2), fdtimings.sample_point_permill*0.1f, stats.tx_requests, stats.tx_rejected, stats.tx_overflow,