Skip to content

Commit

Permalink
Revert "fix mA conversion test"
Browse files Browse the repository at this point in the history
This reverts commit ef872ea.
  • Loading branch information
Steve Nguyen committed Nov 6, 2024
1 parent ef872ea commit 9418c5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/device/xl330.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ pub mod conv {
/// Dynamixel current to mA
///
/// Works for present_current instance
pub fn dxl_current_to_ma(current: u16) -> f32 {
pub fn dxl_current_to_ma(current: i16) -> f32 {
current as f32 * 1.0
}
/// Current (mA) to dynamixel current
Expand Down

0 comments on commit 9418c5e

Please sign in to comment.