mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-07-12 09:47:54 +00:00
cosmetics
This commit is contained in:
parent
caa9e1c12f
commit
054d5c8f0b
@ -98,9 +98,11 @@ volatile uint16_t PPM_data[NUM_CHN];
|
||||
// Serial variables
|
||||
#ifdef INVERT_TELEMETRY
|
||||
// enable bit bash for serial
|
||||
#ifndef STM32_board
|
||||
#define BASH_SERIAL 1
|
||||
#define INVERT_SERIAL 1
|
||||
#endif
|
||||
#endif
|
||||
#define BAUD 100000
|
||||
#define RXBUFFER_SIZE 25
|
||||
#define TXBUFFER_SIZE 32
|
||||
@ -178,8 +180,8 @@ void setup()
|
||||
#if defined TELEMETRY
|
||||
pinMode(TX_INV_pin,OUTPUT);
|
||||
pinMode(RX_INV_pin,OUTPUT);
|
||||
#if defined TARANIS
|
||||
TX_INV_on;
|
||||
#if defined INVERT_TELEMETRY
|
||||
TX_INV_on;//activated inverter for both serial TX and RX signals
|
||||
RX_INV_on;
|
||||
#else
|
||||
TX_INV_off;
|
||||
|
Loading…
x
Reference in New Issue
Block a user