Skip to content

Commit 306e73c

Browse files
author
Comma Device
committed
cleanup
1 parent b1bf90b commit 306e73c

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

board/boards/cuatro.h

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,7 @@ static void cuatro_set_amp_enabled(bool enabled){
5050
static 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

board/jungle/boards/board_declarations.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)