projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f51316c
)
ao_companion: Make motor_number uint16_t
author
Keith Packard
<keithp@keithp.com>
Fri, 28 Jan 2022 22:42:45 +0000
(14:42 -0800)
committer
Keith Packard
<keithp@keithp.com>
Thu, 17 Feb 2022 01:26:49 +0000
(17:26 -0800)
Make it match the types used elsewhere
Signed-off-by: Keith Packard <keithp@keithp.com>
src/kernel/ao_companion.h
patch
|
blob
|
history
diff --git
a/src/kernel/ao_companion.h
b/src/kernel/ao_companion.h
index bd702fe3664065d0c6e0b1e40788c6a89634a49a..a8fd100cef062cb9698314bfbc99ecb46e9f4b0d 100644
(file)
--- a/
src/kernel/ao_companion.h
+++ b/
src/kernel/ao_companion.h
@@
-34,7
+34,7
@@
struct ao_companion_command {
int16_t accel;
int16_t speed;
int16_t height;
-
int16_t
motor_number;
+
uint16_t
motor_number;
};
struct ao_companion_setup {