Minimize usage of build-time DOUBLE_BATTERY

This commit is contained in:
Jaakko Haakana 2025-06-01 18:54:09 +03:00
parent 17a22dc59d
commit 8cb4884af7
7 changed files with 9 additions and 28 deletions

View file

@ -67,12 +67,8 @@ The pin layout below supports the following:
#define INVERTER_DISCONNECT_CONTACTOR_PIN GPIO_NUM_5
// BMW_I3_BATTERY wake up pin
#ifdef BMW_I3_BATTERY
#define WUP_PIN1 GPIO_NUM_25 // Wake up pin for battery 1
#ifdef DOUBLE_BATTERY
#define WUP_PIN2 GPIO_NUM_32 // Wake up pin for battery 2
#endif // DOUBLE_BATTERY
#endif // BMW_I3_BATTERY
/* ----- Error checks below, don't change (can't be moved to separate file) ----- */
#ifndef HW_CONFIGURED