Enable telemetry through the nice little cable on 9XR-PRRRO ;)

This commit is contained in:
bsongis
2014-06-23 17:24:38 +02:00
parent e96578c857
commit 9d4fbfc3ea
6 changed files with 63 additions and 41 deletions
+6 -5
View File
@@ -113,11 +113,6 @@ extern uint16_t sessionTimer;
void delaysInit(void);
#define DEBUG_BAUDRATE 115200
void uart3Init(unsigned int mode, unsigned int protocol);
void uart3Putc(const char c);
void delaysInit(void);
void delay_01us(uint16_t nb);
@@ -259,6 +254,12 @@ void hapticOff(void);
#define HAPTIC_ON() hapticOn()
#endif
// UART3 driver
#define DEBUG_BAUDRATE 115200
void uart3Init(unsigned int mode, unsigned int protocol);
void uart3Putc(const char c);
#define telemetrySecondPortInit(protocol) uart3Init(UART_MODE_TELEMETRY, protocol)
extern uint8_t currentTrainerMode;
#endif