Switch and Throttle Warnings when loading a model. To be tested and re-tested ...

This commit is contained in:
bsongis
2012-05-25 13:52:39 +00:00
parent d3b14ea3e2
commit 9ef47a1e63
11 changed files with 112 additions and 67 deletions
+6
View File
@@ -34,7 +34,13 @@
#ifndef pulses_arm_h
#define pulses_arm_h
extern uint8_t s_current_protocol;
extern uint8_t s_pulses_paused;
void startPulses();
inline bool pulsesStarted() { return s_current_protocol != 255; }
inline void pausePulses() { s_pulses_paused = true; }
inline void resumePulses() { s_pulses_paused = false; }
void disable_main_ppm();
void disable_ssc();