Again 16 channels for Crossfire.

I hope they won't change their mind again
This commit is contained in:
Bertrand Songis
2015-12-20 17:13:04 +01:00
committed by Damjan Adamic
parent cc8bd03d8a
commit 739f19d450
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -249,7 +249,7 @@ void ModulePanel::update()
break;
case PULSES_CROSSFIRE:
mask |= MASK_CHANNELS_RANGE;
module.channelsCount = 12;
module.channelsCount = 16;
break;
case PULSES_PPM:
mask |= MASK_PPM_FIELDS | MASK_CHANNELS_RANGE| MASK_CHANNELS_COUNT;
+2 -2
View File
@@ -85,8 +85,8 @@ PACK(struct Dsm2PulsesData {
#endif
#define CROSSFIRE_BAUDRATE 200000
#define CROSSFIRE_FRAME_LEN 20
#define CROSSFIRE_CHANNELS_COUNT 12
#define CROSSFIRE_FRAME_LEN 25
#define CROSSFIRE_CHANNELS_COUNT 16
PACK(struct CrossfirePulsesData {
uint8_t pulses[CROSSFIRE_FRAME_LEN];
});