Skip to content

Commit 885c4f0

Browse files
authored
Add missing HSE defines (FLYWOO) (#901)
1 parent 0adb143 commit 885c4f0

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

configs/FLYWOOF405PRO/config.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
#define USE_ACC_SPI_ICM20689
3333
#define USE_GYRO_SPI_ICM42688P
3434
#define USE_ACC_SPI_ICM42688P
35+
#define USE_BARO
3536
#define USE_BARO_BMP280
3637
#define USE_BARO_DPS310
3738
#define USE_FLASH
@@ -91,18 +92,16 @@
9192
TIMER_PIN_MAP( 8, PA9 , 1, 0) \
9293
TIMER_PIN_MAP( 9, PB4 , 1, 0)
9394

94-
95-
9695
#define ADC1_DMA_OPT 0
9796

9897
#define MAG_I2C_INSTANCE I2CDEV_1
99-
#define USE_BARO
10098
#define BARO_I2C_INSTANCE I2CDEV_1
10199
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
102100
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
103101
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
104102
#define DEFAULT_CURRENT_METER_SCALE 170
105103
#define BEEPER_INVERTED
104+
#define SYSTEM_HSE_MHZ 8
106105
#define MAX7456_SPI_INSTANCE SPI3
107106
#define DASHBOARD_I2C_INSTANCE I2CDEV_1
108107
#define FLASH_SPI_INSTANCE SPI3

configs/FLYWOOF405S_AIO/config.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,6 @@
9292
TIMER_PIN_MAP( 7, PC8 , 2, 0) \
9393
TIMER_PIN_MAP( 8, PA9 , 1, 0)
9494

95-
96-
9795
#define ADC1_DMA_OPT 0
9896
#define MAG_I2C_INSTANCE I2CDEV_1
9997
#define BARO_I2C_INSTANCE I2CDEV_1
@@ -102,6 +100,7 @@
102100
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
103101
#define DEFAULT_CURRENT_METER_SCALE 170
104102
#define BEEPER_INVERTED
103+
#define SYSTEM_HSE_MHZ 8
105104
#define MAX7456_SPI_INSTANCE SPI3
106105
#define DASHBOARD_I2C_INSTANCE I2CDEV_1
107106
#define FLASH_SPI_INSTANCE SPI3

0 commit comments

Comments
 (0)