From 4dc203376afbd20914373ec721610d20a851add5 Mon Sep 17 00:00:00 2001 From: Robbe Derks Date: Fri, 29 Nov 2024 17:37:33 +0100 Subject: [PATCH] more open drains (#2091) also open drain Co-authored-by: Comma Device --- board/boards/cuatro.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/board/boards/cuatro.h b/board/boards/cuatro.h index 4a6b5da096..3d87318b02 100644 --- a/board/boards/cuatro.h +++ b/board/boards/cuatro.h @@ -87,6 +87,10 @@ static void cuatro_init(void) { set_gpio_output_type(GPIOB, 2, OUTPUT_TYPE_OPEN_DRAIN); set_gpio_output_type(GPIOD, 15, OUTPUT_TYPE_OPEN_DRAIN); + // more open drain + set_gpio_output_type(GPIOD, 3, OUTPUT_TYPE_OPEN_DRAIN); // FAN_EN + set_gpio_output_type(GPIOC, 12, OUTPUT_TYPE_OPEN_DRAIN); // VBAT_EN + // Power readout set_gpio_mode(GPIOC, 5, MODE_ANALOG); set_gpio_mode(GPIOA, 6, MODE_ANALOG);