Hellen72: Set the default pin states to input-pulldown instead of input-pullup #2525
This commit is contained in:
parent
c891883ee7
commit
333fcfca8c
|
@ -44,7 +44,9 @@
|
|||
* Pulldowns are more safe because most of MCU outputs on Hellen are high-active.
|
||||
*/
|
||||
#define EFI_PIN_MODE_DEFAULT PIN_MODE_INPUT
|
||||
#ifndef EFI_DR_DEFAULT
|
||||
#define EFI_DR_DEFAULT PIN_PUPDR_PULLDOWN
|
||||
#endif
|
||||
|
||||
// See https://github.com/rusefi/rusefi/issues/397
|
||||
#define DEFAULT_GPIO_SPEED PIN_OSPEED_HIGH
|
||||
|
|
|
@ -44,7 +44,9 @@
|
|||
* Pulldowns are more safe because most of MCU outputs on Hellen are high-active.
|
||||
*/
|
||||
#define EFI_PIN_MODE_DEFAULT PIN_MODE_INPUT
|
||||
#ifndef EFI_DR_DEFAULT
|
||||
#define EFI_DR_DEFAULT PIN_PUPDR_PULLDOWN
|
||||
#endif
|
||||
|
||||
// See https://github.com/rusefi/rusefi/issues/397
|
||||
#define DEFAULT_GPIO_SPEED PIN_OSPEED_HIGH
|
||||
|
|
|
@ -37,7 +37,9 @@
|
|||
* Default to input mode, with internal pulldown resistor enabled.
|
||||
*/
|
||||
#define EFI_PIN_MODE_DEFAULT PIN_MODE_INPUT
|
||||
#ifndef EFI_DR_DEFAULT
|
||||
#define EFI_DR_DEFAULT PIN_PUPDR_PULLUP
|
||||
#endif
|
||||
|
||||
// See https://github.com/rusefi/rusefi/issues/397
|
||||
#define DEFAULT_GPIO_SPEED PIN_OSPEED_HIGH
|
||||
|
|
|
@ -39,7 +39,9 @@
|
|||
* input-floating is the default pin mode. input-output boards should provision appropriate pull-ups/pull-downs.
|
||||
*/
|
||||
#define EFI_PIN_MODE_DEFAULT PIN_MODE_INPUT
|
||||
#ifndef EFI_DR_DEFAULT
|
||||
#define EFI_DR_DEFAULT PIN_PUPDR_FLOATING
|
||||
#endif
|
||||
|
||||
// See https://github.com/rusefi/rusefi/issues/397
|
||||
#define DEFAULT_GPIO_SPEED PIN_OSPEED_HIGH
|
||||
|
|
Loading…
Reference in New Issue