Merge pull request #6814 from jflyper/bfdev-futher-update-uavpng030mini-defs

UAVPNG030MINI: Update some defs
This commit is contained in:
Michael Keller 2018-09-22 06:55:11 +12:00 committed by GitHub
commit e68df0415e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 4 deletions

View File

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