Skip to content

Commit ed47b35

Browse files
Greypanghaslinghuisot0tot
authored
Update confifix: correct PINIO2 assignment, redefine as 12V BEC switch (#933)
* Update config.h * Update configs/GEPRC_TAKER_H743MINI/config.h Co-authored-by: Mark Haslinghuis <[email protected]> * Update configs/GEPRC_TAKER_H743MINI/config.h Co-authored-by: ot0tot <[email protected]> --------- Co-authored-by: Mark Haslinghuis <[email protected]> Co-authored-by: ot0tot <[email protected]>
1 parent 58914e0 commit ed47b35

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

configs/GEPRC_TAKER_H743MINI/config.h

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
#define ADC_CURR_PIN PC0
8080
#define FLASH_CS_PIN PA15
8181
#define PINIO1_PIN PC5
82-
#define PINIO2_PIN PC14
82+
#define PINIO2_PIN PD3
8383
#define MAX7456_SPI_CS_PIN PE4
8484
#define GYRO_1_EXTI_PIN PB2
8585
#define GYRO_1_CS_PIN PB12
@@ -107,15 +107,18 @@
107107
#define MSP_UART SERIAL_PORT_USART8
108108
#define MAG_I2C_INSTANCE I2CDEV_2
109109
#define BARO_I2C_INSTANCE I2CDEV_1
110-
111110
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
112111
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
113112
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
114113
#define DEFAULT_CURRENT_METER_SCALE 100
115114
#define BEEPER_INVERTED
116115
#define FLASH_SPI_INSTANCE SPI3
117116
#define PINIO1_CONFIG 129
118-
#define PINIO1_BOX 0
119-
#define PINIO2_BOX 40
117+
#define PINIO1_CONFIG 1
118+
#define PINIO2_CONFIG 129
119+
#define PINIO1_BOX 40
120+
#define PINIO2_BOX 41
121+
#define BOX_USER1_NAME "CAM 1,2"
122+
#define BOX_USER2_NAME "12V BEC OFF"
120123
#define GYRO_1_SPI_INSTANCE SPI2
121124
#define MAX7456_SPI_INSTANCE SPI4

0 commit comments

Comments
 (0)