Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: Autogeneration of config.h inadvertently used PNONE instead of NONE #12430

Merged
merged 1 commit into from
Feb 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/config/GEPRCF411/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
#define ADC_CURR_PIN PB1
#define MAX7456_SPI_CS_PIN PB12
#define GYRO_1_EXTI_PIN PA1
#define GYRO_2_EXTI_PIN PNONE
#define GYRO_2_EXTI_PIN NONE
#define GYRO_1_CS_PIN PA4
#define USB_DETECT_PIN PC15

Expand Down
2 changes: 1 addition & 1 deletion src/config/GEPRCF411_AIO/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
#define MAX7456_SPI_CS_PIN PB12
#define FLASH_CS_PIN PB3
#define GYRO_1_EXTI_PIN PA1
#define GYRO_2_EXTI_PIN PNONE
#define GYRO_2_EXTI_PIN NONE
#define GYRO_1_CS_PIN PA4
#define USB_DETECT_PIN PC15

Expand Down
2 changes: 1 addition & 1 deletion src/config/KROOZX/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
#define SDCARD_DETECT_PIN PC13
#define PINIO1_PIN PC5
#define MAX7456_SPI_CS_PIN PC4
#define GYRO_1_EXTI_PIN PNONE
#define GYRO_1_EXTI_PIN NONE
#define GYRO_1_CS_PIN PB2

#define TIMER_PIN_MAPPING \
Expand Down
2 changes: 1 addition & 1 deletion src/config/MATEKF411/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
#define ADC_CURR_PIN PB1
#define MAX7456_SPI_CS_PIN PB12
#define GYRO_1_EXTI_PIN PA1
#define GYRO_2_EXTI_PIN PNONE
#define GYRO_2_EXTI_PIN NONE
#define GYRO_1_CS_PIN PA4
#define USB_DETECT_PIN PC15

Expand Down
2 changes: 1 addition & 1 deletion src/config/NOX/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
#define BARO_CS_PIN PA9
#define FLASH_CS_PIN PA15
#define MAX7456_SPI_CS_PIN PA10
#define GYRO_1_EXTI_PIN PNONE
#define GYRO_1_EXTI_PIN NONE
#define GYRO_1_CS_PIN PB12

#define TIMER_PIN_MAPPING \
Expand Down
2 changes: 1 addition & 1 deletion src/config/OMNIBUSF4FW/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
#define BARO_CS_PIN PB3
#define FLASH_CS_PIN PB12
#define MAX7456_SPI_CS_PIN PA15
#define GYRO_1_EXTI_PIN PNONE
#define GYRO_1_EXTI_PIN NONE
#define GYRO_1_CS_PIN PD2
#define GYRO_2_CS_PIN PA4

Expand Down
2 changes: 1 addition & 1 deletion src/config/SKYSTARSF411/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
#define MOTOR3_PIN PB6
#define MOTOR4_PIN PB7
#define MOTOR5_PIN PB10
#define MOTOR6_PIN PNONE
#define MOTOR6_PIN NONE

#define UART1_TX_PIN PA9
#define UART1_RX_PIN PA10
Expand Down
18 changes: 9 additions & 9 deletions src/config/SPRACINGH7EXTREME/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,25 +144,25 @@
#define UART4_TX_PIN PD1
#define UART5_TX_PIN PB13
#define UART6_TX_PIN PC6
#define UART7_TX_PIN PNONE
#define UART7_TX_PIN NONE
#define UART8_TX_PIN PE1
#define UART1_RX_PIN PB15
#define UART2_RX_PIN PNONE
#define UART2_RX_PIN NONE
#define UART3_RX_PIN PD9
#define UART4_RX_PIN PD0
#define UART5_RX_PIN PB5
#define UART6_RX_PIN PC7
#define UART7_RX_PIN PNONE
#define UART7_RX_PIN NONE
#define UART8_RX_PIN PE0

#define I2C1_SCL_PIN PB8
#define I2C1_SDA_PIN PB9
#define I2C2_SCL_PIN PNONE
#define I2C2_SDA_PIN PNONE
#define I2C3_SCL_PIN PNONE
#define I2C3_SDA_PIN PNONE
#define I2C4_SCL_PIN PNONE
#define I2C4_SDA_PIN PNONE
#define I2C2_SCL_PIN NONE
#define I2C2_SDA_PIN NONE
#define I2C3_SCL_PIN NONE
#define I2C3_SDA_PIN NONE
#define I2C4_SCL_PIN NONE
#define I2C4_SDA_PIN NONE

#define LED0_PIN PE3
#define TRANSPONDER_PIN PB11
Expand Down
44 changes: 22 additions & 22 deletions src/config/SPRACINGH7RF/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -194,41 +194,41 @@
#define MOTOR8_PIN PA3
#define LED_STRIP_PIN PB7

#define UART1_TX_PIN PNONE
#define UART1_TX_PIN NONE
#define UART2_TX_PIN PD5
#define UART3_TX_PIN PD8
#define UART4_TX_PIN PD1
#define UART5_TX_PIN PNONE
#define UART6_TX_PIN PNONE
#define UART7_TX_PIN PNONE
#define UART5_TX_PIN NONE
#define UART6_TX_PIN NONE
#define UART7_TX_PIN NONE
#define UART8_TX_PIN PE1
#define UART9_TX_PIN PNONE
#define UART10_TX_PIN PNONE
#define UART1_RX_PIN PNONE
#define UART9_TX_PIN NONE
#define UART10_TX_PIN NONE
#define UART1_RX_PIN NONE
#define UART2_RX_PIN PD6
#define UART3_RX_PIN PD9
#define UART4_RX_PIN PD0
#define UART5_RX_PIN PB13
#define UART6_RX_PIN PNONE
#define UART7_RX_PIN PNONE
#define UART6_RX_PIN NONE
#define UART7_RX_PIN NONE
#define UART8_RX_PIN PE0
#define UART9_RX_PIN PNONE
#define UART10_RX_PIN PNONE
#define UART9_RX_PIN NONE
#define UART10_RX_PIN NONE

#define I2C1_SCL_PIN PB8
#define I2C2_SCL_PIN PB10
#define I2C3_SCL_PIN PNONE
#define I2C4_SCL_PIN PNONE
#define I2C3_SCL_PIN NONE
#define I2C4_SCL_PIN NONE
#define I2C1_SDA_PIN PB9
#define I2C2_SDA_PIN PB11
#define I2C3_SDA_PIN PNONE
#define I2C4_SDA_PIN PNONE
#define I2C3_SDA_PIN NONE
#define I2C4_SDA_PIN NONE

#define LED0_PIN PE5
#define LED1_PIN PE6
#define LED2_PIN PNONE
#define SPEKTRUM_RX_BIND_PIN PNONE
#define RX_BIND_PLUG_PIN PNONE
#define LED2_PIN NONE
#define SPEKTRUM_RX_BIND_PIN NONE
#define RX_BIND_PLUG_PIN NONE

#define ADC_VBAT_PIN PC3
#define ADC_RSSI_PIN PC0
Expand All @@ -247,15 +247,15 @@

#define RX_SPI_CS_PIN PB12
#define RX_SPI_EXTI_PIN PC6
#define RX_SPI_BIND_PIN PNONE
#define RX_SPI_LED_PIN PNONE
#define RX_SPI_BIND_PIN NONE
#define RX_SPI_LED_PIN NONE
#define RX_SPI_EXPRESSLRS_RESET_PIN PD10
#define RX_SPI_EXPRESSLRS_BUSY_PIN PC7

#define GYRO_1_EXTI_PIN PD15
#define GYRO_2_EXTI_PIN PNONE
#define GYRO_2_EXTI_PIN NONE
#define GYRO_1_CS_PIN PA15
#define GYRO_2_CS_PIN PNONE
#define GYRO_2_CS_PIN NONE

#define ADC3_DMA_OPT 10

Expand Down
2 changes: 1 addition & 1 deletion src/config/YUPIF4/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
#define SDCARD_CS_PIN PA15
#define SDCARD_DETECT_PIN PD2
#define MAX7456_SPI_CS_PIN PA14
#define GYRO_1_EXTI_PIN PNONE
#define GYRO_1_EXTI_PIN NONE
#define GYRO_1_CS_PIN PA4

#define TIMER_PIN_MAPPING \
Expand Down
2 changes: 1 addition & 1 deletion src/config/YUPIF7/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
#define ADC_CURR_PIN PC2
#define FLASH_CS_PIN PA15
#define MAX7456_SPI_CS_PIN PA14
#define GYRO_1_EXTI_PIN PNONE
#define GYRO_1_EXTI_PIN NONE
#define GYRO_1_CS_PIN PA4
#define USB_DETECT_PIN PA8

Expand Down
2 changes: 1 addition & 1 deletion src/config/ZEEZWHOOP/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
#define SPI3_MOSI_PIN PB5
#define ADC_VBAT_PIN PB1
#define MAX7456_SPI_CS_PIN PB10
#define GYRO_1_EXTI_PIN PNONE
#define GYRO_1_EXTI_PIN NONE
#define GYRO_1_CS_PIN PA15

#define TIMER_PIN_MAPPING \
Expand Down