Skip to content

Commit

Permalink
AP_ESC_Telem: fix raw rpm
Browse files Browse the repository at this point in the history
Co-authored-by: Amilcar Lucas <[email protected]>
  • Loading branch information
2 people authored and tridge committed Sep 1, 2021
1 parent 9281982 commit e8d1326
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_ESC_Telem/AP_ESC_Telem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ void AP_ESC_Telem::update()
time_us : AP_HAL::micros64(),
instance : i,
rpm : (int32_t) rpm * 100,
raw_rpm : (int32_t) rpm * 100,
raw_rpm : (int32_t) rawrpm * 100,
voltage : _telem_data[i].voltage,
current : _telem_data[i].current,
esc_temp : _telem_data[i].temperature_cdeg,
Expand Down

0 comments on commit e8d1326

Please sign in to comment.