mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-04 02:09:30 +02:00
Eliminate CAN_SHUNT_SELECTED define
This commit is contained in:
parent
9c13d94af1
commit
75c66cb6d3
4 changed files with 12 additions and 10 deletions
|
@ -40,10 +40,10 @@ String settings_processor(const String& var) {
|
|||
String(inverter->interface_name()) + "</span></h4>";
|
||||
}
|
||||
|
||||
#ifdef CAN_SHUNT_SELECTED
|
||||
content += "<h4 style='color: white;'>Shunt Interface: <span id='Shunt'>" +
|
||||
String(getCANInterfaceName(can_config.shunt)) + "</span></h4>";
|
||||
#endif //CAN_SHUNT_SELECTED
|
||||
if (shunt) {
|
||||
content +=
|
||||
"<h4 style='color: white;'>Shunt Interface: <span id='Shunt'>" + shunt->interface_name() + "</span></h4>";
|
||||
}
|
||||
|
||||
// Close the block
|
||||
content += "</div>";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue