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
|
// Serial variables
|
||||||
#ifdef INVERT_TELEMETRY
|
#ifdef INVERT_TELEMETRY
|
||||||
// enable bit bash for serial
|
// enable bit bash for serial
|
||||||
|
#ifndef STM32_board
|
||||||
#define BASH_SERIAL 1
|
#define BASH_SERIAL 1
|
||||||
#define INVERT_SERIAL 1
|
#define INVERT_SERIAL 1
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
#define BAUD 100000
|
#define BAUD 100000
|
||||||
#define RXBUFFER_SIZE 25
|
#define RXBUFFER_SIZE 25
|
||||||
#define TXBUFFER_SIZE 32
|
#define TXBUFFER_SIZE 32
|
||||||
@ -178,8 +180,8 @@ void setup()
|
|||||||
#if defined TELEMETRY
|
#if defined TELEMETRY
|
||||||
pinMode(TX_INV_pin,OUTPUT);
|
pinMode(TX_INV_pin,OUTPUT);
|
||||||
pinMode(RX_INV_pin,OUTPUT);
|
pinMode(RX_INV_pin,OUTPUT);
|
||||||
#if defined TARANIS
|
#if defined INVERT_TELEMETRY
|
||||||
TX_INV_on;
|
TX_INV_on;//activated inverter for both serial TX and RX signals
|
||||||
RX_INV_on;
|
RX_INV_on;
|
||||||
#else
|
#else
|
||||||
TX_INV_off;
|
TX_INV_off;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user