From d9adba2024ba477b7ea606e956ff92fea861cf28 Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Sat, 14 Aug 2021 06:34:13 -0700 Subject: [PATCH] everybody is pulldown (#3131) --- firmware/hw_layer/ports/stm32/stm32f4/board.h | 2 +- firmware/hw_layer/ports/stm32/stm32h7/board.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/hw_layer/ports/stm32/stm32f4/board.h b/firmware/hw_layer/ports/stm32/stm32f4/board.h index 83f1615831..65b06cbc6b 100644 --- a/firmware/hw_layer/ports/stm32/stm32f4/board.h +++ b/firmware/hw_layer/ports/stm32/stm32f4/board.h @@ -38,7 +38,7 @@ */ #define EFI_PIN_MODE_DEFAULT PIN_MODE_INPUT #ifndef EFI_DR_DEFAULT -#define EFI_DR_DEFAULT PIN_PUPDR_PULLUP +#define EFI_DR_DEFAULT PIN_PUPDR_PULLDOWN #endif // See https://github.com/rusefi/rusefi/issues/397 diff --git a/firmware/hw_layer/ports/stm32/stm32h7/board.h b/firmware/hw_layer/ports/stm32/stm32h7/board.h index 08208b6052..26c4945907 100644 --- a/firmware/hw_layer/ports/stm32/stm32h7/board.h +++ b/firmware/hw_layer/ports/stm32/stm32h7/board.h @@ -40,7 +40,7 @@ */ #define EFI_PIN_MODE_DEFAULT PIN_MODE_INPUT #ifndef EFI_DR_DEFAULT -#define EFI_DR_DEFAULT PIN_PUPDR_FLOATING +#define EFI_DR_DEFAULT PIN_PUPDR_PULLDOWN #endif // See https://github.com/rusefi/rusefi/issues/397