projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Explicitly list the linker script needed for AVR targets.
[fw/altos]
/
src
/
core
/
ao_pyro.h
diff --git
a/src/core/ao_pyro.h
b/src/core/ao_pyro.h
index 5deb69d0bf3eccafef80479f28d176c43be7f51b..0c5642d6ea91f2ff12e76c6b1321ff69882b3a4c 100644
(file)
--- a/
src/core/ao_pyro.h
+++ b/
src/core/ao_pyro.h
@@
-42,6
+42,9
@@
enum ao_pyro_flag {
ao_pyro_after_motor = 0x00001000,
ao_pyro_delay = 0x00002000,
ao_pyro_after_motor = 0x00001000,
ao_pyro_delay = 0x00002000,
+
+ ao_pyro_state_less = 0x00004000,
+ ao_pyro_state_greater_or_equal = 0x00008000,
};
struct ao_pyro {
};
struct ao_pyro {
@@
-52,6
+55,7
@@
struct ao_pyro {
int16_t orient_less, orient_greater;
int16_t time_less, time_greater;
int16_t delay;
int16_t orient_less, orient_greater;
int16_t time_less, time_greater;
int16_t delay;
+ uint8_t state_less, state_greater_or_equal;
int16_t motor;
uint16_t delay_done;
uint8_t fired;
int16_t motor;
uint16_t delay_done;
uint8_t fired;
@@
-59,6
+63,8
@@
struct ao_pyro {
extern uint8_t ao_pyro_wakeup;
extern uint8_t ao_pyro_wakeup;
+extern uint16_t ao_pyro_fired;
+
void
ao_pyro_set(void);
void
ao_pyro_set(void);
@@
-68,4
+74,10
@@
ao_pyro_show(void);
void
ao_pyro_init(void);
void
ao_pyro_init(void);
+void
+ao_pyro_manual(uint8_t p);
+
+void
+ao_pyro_print_status(void);
+
#endif
#endif