failsafeCounter reduced to uint16_t (needed max value is 1000)

This commit is contained in:
Damjan Adamic
2015-02-20 20:36:21 +01:00
parent a5e8c85557
commit 83dd03d654
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -38,7 +38,7 @@
uint8_t s_pulses_paused = 0;
uint8_t s_current_protocol[NUM_MODULES] = { MODULES_INIT(255) };
uint32_t failsafeCounter[NUM_MODULES] = { MODULES_INIT(100) };
uint16_t failsafeCounter[NUM_MODULES] = { MODULES_INIT(100) };
uint8_t moduleFlag[NUM_MODULES] = { 0 };
void setupPulses(unsigned int port)
+1 -1
View File
@@ -45,7 +45,7 @@
extern uint8_t s_current_protocol[NUM_MODULES];
extern uint8_t s_pulses_paused;
extern uint32_t failsafeCounter[NUM_MODULES];
extern uint16_t failsafeCounter[NUM_MODULES];
void setupPulses(unsigned int port);
void setupPulsesDSM2(unsigned int port);