G9Xv4 Board: Committing TX_CADDY feature to trunk.
This feature allows use of a transmitter module 'caddy' PCB, which facilitates automatic DSM2(X) or Fr-Sky transmitter module switching, without having to swap TX module on the back of the radio. Two antennas are installed on the radio instead of attempting to switch 2.4GHz RF signals, for reliability. The TX Caddy circuit schematic and PCB layout can be found in the gruvin9x hardware project. I am not really expecting anyone else to implement this feature. But it's there for those who might and adding it to trunk prevent me having to manually port the feature to new versions, each time I update my field radio. -- Gruvin
This commit is contained in:
@@ -736,6 +736,13 @@ void setupPulses()
|
||||
PORTH |= 0x80; // PORTH:7 LOW->HIGH signals start of setupPulses()
|
||||
#endif
|
||||
|
||||
#if defined (PCBGRUVIN9X) && defined(TX_CADDY)
|
||||
if (required_protocol == PROTO_DSM2)
|
||||
PORTH &= ~0x80;
|
||||
else
|
||||
PORTH |= 0x80;
|
||||
#endif
|
||||
|
||||
if (s_pulses_paused)
|
||||
required_protocol = PROTO_NONE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user