[gruvin9x] Latest change on TX_CADDY reverted
This commit is contained in:
+3
-3
@@ -735,15 +735,15 @@ void setupPulses()
|
|||||||
if (s_pulses_paused)
|
if (s_pulses_paused)
|
||||||
required_protocol = PROTO_NONE;
|
required_protocol = PROTO_NONE;
|
||||||
|
|
||||||
if (s_current_protocol != required_protocol) {
|
#if defined(PCBGRUVIN9X) && defined(DSM2) && defined(TX_CADDY)
|
||||||
|
|
||||||
#if defined(PCBGRUVIN9X) && defined(TX_CADDY)
|
|
||||||
if (required_protocol == PROTO_DSM2)
|
if (required_protocol == PROTO_DSM2)
|
||||||
PORTH &= ~0x80;
|
PORTH &= ~0x80;
|
||||||
else
|
else
|
||||||
PORTH |= 0x80;
|
PORTH |= 0x80;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if (s_current_protocol != required_protocol) {
|
||||||
|
|
||||||
#if defined(DSM2_SERIAL) && defined(FRSKY)
|
#if defined(DSM2_SERIAL) && defined(FRSKY)
|
||||||
if (s_current_protocol == 255 || s_current_protocol == PROTO_DSM2) {
|
if (s_current_protocol == 255 || s_current_protocol == PROTO_DSM2) {
|
||||||
FRSKY_Init();
|
FRSKY_Init();
|
||||||
|
|||||||
Reference in New Issue
Block a user