Eliminate CAN_SHUNT_SELECTED define

This commit is contained in:
Jaakko Haakana 2025-06-09 22:29:52 +03:00
parent 9c13d94af1
commit 75c66cb6d3
4 changed files with 12 additions and 10 deletions

View file

@ -960,11 +960,11 @@ String processor(const String& var) {
}
content += "</h4>";
#ifdef CAN_SHUNT_SELECTED
content += "<h4 style='color: white;'>Shunt protocol: ";
content += datalayer.system.info.shunt_protocol;
content += "</h4>";
#endif
if (shunt) {
content += "<h4 style='color: white;'>Shunt protocol: ";
content += datalayer.system.info.shunt_protocol;
content += "</h4>";
}
if (charger) {
content += "<h4 style='color: white;'>Charger protocol: ";