From bb659c2ec6f50784f49aebb877932f0f7e2b18ee Mon Sep 17 00:00:00 2001 From: jflyper Date: Sat, 22 Sep 2018 02:19:13 +0900 Subject: [PATCH] Update some more defs --- src/main/target/UAVPNG030MINI/target.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/main/target/UAVPNG030MINI/target.h b/src/main/target/UAVPNG030MINI/target.h index 644583d49..1aba18511 100644 --- a/src/main/target/UAVPNG030MINI/target.h +++ b/src/main/target/UAVPNG030MINI/target.h @@ -38,12 +38,13 @@ #define GYRO_1_SPI_INSTANCE SPI1 // TODO -#define GYRO_MPU6000_ALIGN CW180_DEG -#define ACC_MPU6000_ALIGN CW180_DEG +#define GYRO_1_ALIGN CW180_DEG +#define ACC_1_ALIGN CW180_DEG // MPU6000 interrupts #define USE_EXTI -#define MPU_INT_EXTI PE0 +#define USE_GYRO_EXTI +#define GYRO_1_EXTI_PIN PE0 #define USE_MPU_DATA_READY_SIGNAL #define USE_MAG @@ -99,7 +100,7 @@ // TODO #define USE_ESCSERIAL -#define ESCSERIAL_TIMER_TX_HARDWARE 0 // PWM 1 +#define ESCSERIAL_TIMER_TX_PIN PA2 #define USE_SPI #define USE_SPI_DEVICE_1