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

@ -66,12 +66,8 @@ GPIOs on extra header
#define EQUIPMENT_STOP_PIN 2
// 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