Refactor Tesla handling

This commit is contained in:
Daniel Öster 2024-09-08 22:10:24 +03:00
parent a4e56d4b04
commit a995f595cb
5 changed files with 45 additions and 21 deletions

View file

@ -526,9 +526,9 @@ String processor(const String& var) {
#ifdef SERIAL_LINK_RECEIVER
content += "Serial link to another LilyGo board";
#endif // SERIAL_LINK_RECEIVER
#ifdef TESLA_MODEL_3_BATTERY
#if defined(TESLA_MODEL_S_BATTERY) || defined(TESLA_MODEL_3_BATTERY) || defined(TESLA_MODEL_X_BATTERY) || defined(TESLA_MODEL_Y_BATTERY)
content += "Tesla Model S/3/X/Y";
#endif // TESLA_MODEL_3_BATTERY
#endif // TESLA_MODEL_#_BATTERY
#ifdef VOLVO_SPA_BATTERY
content += "Volvo / Polestar 78kWh battery";
#endif // VOLVO_SPA_BATTERY