rusefi 2021-10-07 19:16:28 -04:00
parent 68742f5bd5
commit e2c5209a88
3 changed files with 9 additions and 1 deletions

View File

@ -140,6 +140,8 @@ void setBoardDefaultConfiguration(void) {
engineConfiguration->mainRelayPin = GPIO_UNASSIGNED;
CONFIG(starterControlPin) = H176_OUT_IO10;
CONFIG(startStopButtonPin) = H176_IN_A16;
CONFIG(startStopButtonMode) = PI_PULLDOWN;
// "required" hardware is done - set some reasonable defaults
setupDefaultSensorInputs();

View File

@ -189,7 +189,11 @@ pins:
function: NC K line
- pin: C40
function: proto via
id: [GPIOF_10]
class: [switch_inputs]
ts_name: C40 start button
function: Start button
type: din
- pin: D1
function: NC

View File

@ -32,3 +32,5 @@
#define H176_CAN_RX GPIOD_0
#define H176_CAN_TX GPIOD_1
#define H176_IN_A16 GPIOF_10