File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed
Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -50,12 +50,7 @@ static void cuatro_set_amp_enabled(bool enabled){
5050static void cuatro_init (void ) {
5151 common_init_gpio ();
5252
53- // init LEDs as open drain
54- set_gpio_output_type (GPIOC , 6 , OUTPUT_TYPE_OPEN_DRAIN );
55- set_gpio_output_type (GPIOC , 7 , OUTPUT_TYPE_OPEN_DRAIN );
56- set_gpio_output_type (GPIOC , 9 , OUTPUT_TYPE_OPEN_DRAIN );
57-
58- // more open drain
53+ // open drain
5954 set_gpio_output_type (GPIOD , 3 , OUTPUT_TYPE_OPEN_DRAIN ); // FAN_EN
6055 set_gpio_output_type (GPIOC , 12 , OUTPUT_TYPE_OPEN_DRAIN ); // VBAT_EN
6156
Original file line number Diff line number Diff line change @@ -42,11 +42,6 @@ struct board {
4242#define HW_TYPE_V1 1U
4343#define HW_TYPE_V2 2U
4444
45- // LED colors
46- #define LED_RED 0U
47- #define LED_GREEN 1U
48- #define LED_BLUE 2U
49-
5045// CAN modes
5146#define CAN_MODE_NORMAL 0U
5247#define CAN_MODE_OBD_CAN2 3U
You can’t perform that action at this time.
0 commit comments