Move board specific to config.c

This commit is contained in:
jflyper 2018-09-22 18:15:02 +09:00
parent dde8a04189
commit c9b840eed5
2 changed files with 3 additions and 3 deletions

View File

@ -37,6 +37,8 @@
#include "hardware_revision.h"
#define UART1_INVERTER PC9
void targetPreInit(void)
{
switch (hardwareRevision) {

View File

@ -41,9 +41,7 @@
#define BEEPER_INVERTED
#define INVERTER_PIN_UART6 PB15
//#define INVERTER_PIN_UART1 PC9
#define UART1_INVERTER PC9
//#define INVERTER_PIN_UART1 PC9 // Polarity depends on revision; handled in config.c
// MPU6500 interrupt
#define USE_EXTI