Merge pull request #6825 from jflyper/bfdev-bluejayf4-move-board-specific-to-config

BLUEJAYF4: Move board specific to config.c
This commit is contained in:
J Blackman 2018-09-22 23:23:54 +10:00 committed by GitHub
commit f814459497
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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