git.droids-corp.org
/
aversive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cobboard: prepare state machine
[aversive.git]
/
projects
/
microb2010
/
cobboard
/
state.h
diff --git
a/projects/microb2010/cobboard/state.h
b/projects/microb2010/cobboard/state.h
index
889970b
..
f3135ac
100644
(file)
--- a/
projects/microb2010/cobboard/state.h
+++ b/
projects/microb2010/cobboard/state.h
@@
-23,7
+23,7
@@
#define _STATE_H_
/* set a new state, return 0 on success */
#define _STATE_H_
/* set a new state, return 0 on success */
-int8_t state_set_mode(
struct i2c_cmd_cobboard_set_mode *cmd
);
+int8_t state_set_mode(
uint8_t mode
);
/* get current state */
uint8_t state_get_mode(void);
/* get current state */
uint8_t state_get_mode(void);