WebUI improvement to prevent empty fields
This commit is contained in:
parent
3048c6c2a1
commit
01ba4b7333
@ -64,13 +64,17 @@ String processor(const String &var)
|
||||
return String(LubeConfig.BleedingPulses);
|
||||
if (var == "SPEED_SOURCE")
|
||||
return String(SpeedSourceString[LubeConfig.SpeedSource]);
|
||||
#ifdef FEATURE_ENABLE_GPS
|
||||
if (var == "GPS_BAUD")
|
||||
#ifdef FEATURE_ENABLE_GPS
|
||||
return String(GPSBaudRateString[LubeConfig.GPSBaudRate]);
|
||||
#else
|
||||
return "Feature N/A";
|
||||
#endif
|
||||
#ifdef FEATURE_ENABLE_CAN
|
||||
if (var == "CAN_SOURCE")
|
||||
#ifdef FEATURE_ENABLE_CAN
|
||||
return String(CANSourceString[LubeConfig.CANSource]);
|
||||
#else
|
||||
return "Feature N/A";
|
||||
#endif
|
||||
if (var == "CONFIG_CHECKSUM")
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user