X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fcore%2Fao_pyro.h;h=cde850add58eab6a2d8d2903820e6f2d44b11f9a;hb=fd619a01bf3489b1df017aca20362757b087ec11;hp=1989a9e55c28a74f27a97464f50fb7f0fadc0fb3;hpb=d90587535676f9492f0fde6b974353158104ef88;p=fw%2Faltos diff --git a/src/core/ao_pyro.h b/src/core/ao_pyro.h index 1989a9e5..cde850ad 100644 --- 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_state_less = 0x00004000, + ao_pyro_state_greater_or_equal = 0x00008000, }; struct ao_pyro { @@ -52,11 +55,14 @@ struct ao_pyro { 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; }; +extern uint8_t ao_pyro_wakeup; + void ao_pyro_set(void);