[stock/gruvin9x] Better synchro when the mixer duration increases! Safety check on mixer interval.
This commit is contained in:
@@ -40,6 +40,10 @@ extern uint8_t s_pulses_paused;
|
||||
extern uint8_t *pulses2MHzRPtr;
|
||||
extern uint8_t *pulses2MHzWPtr;
|
||||
|
||||
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 void pausePulses() { s_pulses_paused = true; }
|
||||
|
||||
Reference in New Issue
Block a user