We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e5b6f7 commit be2bd87Copy full SHA for be2bd87
src/device/xm.rs
@@ -105,7 +105,7 @@ pub mod conv {
105
///
106
/// It should be in [-current_limit, +current_limit] with an absolute max at 1193 (3209.17mA)
107
/// Works for goal_current for instance
108
- pub fn current_to_dxl_ma(current: f32) -> i16 {
+ pub fn ma_to_dxl_current(current: f32) -> i16 {
109
(current / 2.69) as i16
110
}
111
0 commit comments