Update TESLA-BATTERY.h

added inline const char* to TESLA-BATTERY.h and include in advanced battery to utilize inline const char*
This commit is contained in:
josiahhiggs 2025-01-26 21:56:56 +13:00
parent 08181cc37d
commit 14f944f723
3 changed files with 19 additions and 0 deletions

View file

@ -805,6 +805,7 @@ static bool battery2_BMS_a180_SW_ECU_reset_blocked = false;
#endif //DOUBLE_BATTERY
// Function definitions
inline const char* getContactorText(int index) {
switch (index) {
case 0: