mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 00:48:30 -04:00
AP_HAL_ChibiOS: Change division to multiplication
This commit is contained in:
parent
049f989037
commit
4a9ddef8ee
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user