cosmetics

This commit is contained in:
midelic 2016-09-18 15:58:04 +01:00 committed by GitHub
parent caa9e1c12f
commit 054d5c8f0b
2 changed files with 49 additions and 47 deletions

View File

@ -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;