Update precharge to handle separate pin definitions

This commit is contained in:
Daniel Öster 2025-05-13 18:52:48 +03:00
parent 2f18bfec74
commit 2d35e08848
8 changed files with 54 additions and 59 deletions

View file

@ -51,6 +51,10 @@ GPIOs on extra header
#define PRECHARGE_PIN 25
#define BMS_POWER 23
// Automatic precharging
#define HIA4V1_PIN 19 //Available as extra GPIO via pin header
#define INVERTER_DISCONNECT_CONTACTOR_PIN 25
// SMA CAN contactor pins
#define INVERTER_CONTACTOR_ENABLE_PIN 2