mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-04 02:09:30 +02:00
Minimize usage of build-time DOUBLE_BATTERY
This commit is contained in:
parent
17a22dc59d
commit
8cb4884af7
7 changed files with 9 additions and 28 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue