aboutsummaryrefslogtreecommitdiff
path: root/hsm-command/Hsm
diff options
context:
space:
mode:
authorPaul Oliver <contact@pauloliver.dev>2025-01-23 14:22:33 -0800
committerPaul Oliver <contact@pauloliver.dev>2025-01-24 16:36:25 -0800
commit367aaf43ef9c52f454a721b1924808aeb2d7944f (patch)
treece166cf19d119510ba36f4b3c1fdcb9f2214c299 /hsm-command/Hsm
parent85d856e87ad7875e5dfab19e22e71c4118f4cbad (diff)
Replaces Int with Word type for numerical values
Diffstat (limited to 'hsm-command/Hsm')
-rw-r--r--hsm-command/Hsm/Command/Command.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/hsm-command/Hsm/Command/Command.hs b/hsm-command/Hsm/Command/Command.hs
index 902d637..4b5ccea 100644
--- a/hsm-command/Hsm/Command/Command.hs
+++ b/hsm-command/Hsm/Command/Command.hs
@@ -43,8 +43,8 @@ data Speed
deriving (Binary, Generic, Read, Show)
data Command
- = Move Direction Speed Int
- | Rotate Angle Speed Int
+ = Move Direction Speed Word
+ | Rotate Angle Speed Word
deriving (Binary, Generic, Read, Show)
commandStream ::