Skip to content

Commit

Permalink
Fixed c_int import error.
Browse files Browse the repository at this point in the history
  • Loading branch information
senthurayyappan committed Sep 25, 2023
1 parent a143f1f commit 0454fa4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions opensourceleg/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ class ControlModes:
Available modes are Voltage, Current, Position, Impedance.
"""

voltage: c_int = fxe.FX_VOLTAGE
current: c_int = fxe.FX_CURRENT
position: c_int = fxe.FX_POSITION
impedance: c_int = fxe.FX_IMPEDANCE
voltage: ctypes.c_int = fxe.FX_VOLTAGE
current: ctypes.c_int = fxe.FX_CURRENT
position: ctypes.c_int = fxe.FX_POSITION
impedance: ctypes.c_int = fxe.FX_IMPEDANCE


CONTROL_MODE = ControlModes()
Expand Down

0 comments on commit 0454fa4

Please sign in to comment.