Simu didn't compile on all platforms

This commit is contained in:
bsongis@gmail.com
2013-05-04 17:19:09 +00:00
parent 914ca9d865
commit a5ed5599ce
2 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -37,7 +37,7 @@
#ifndef pulses_avr_h
#define pulses_avr_h
extern uint8_t s_current_protocol;
extern uint8_t s_current_protocol[1];
extern uint8_t s_pulses_paused;
extern uint8_t *pulses2MHzRPtr;
@@ -48,7 +48,7 @@ extern uint16_t nextMixerEndTime;
#define MAX_MIXER_DELTA (50*16) /* 50ms max as an interval between 2 mixer calculations */
void startPulses();
inline bool pulsesStarted() { return s_current_protocol != 255; }
inline bool pulsesStarted() { return s_current_protocol[0] != 255; }
inline void pausePulses() { s_pulses_paused = true; }
inline void resumePulses() { s_pulses_paused = false; }
void setupPulses();