fixed typo in define

This commit is contained in:
Marcel Peterkau 2023-09-27 10:39:37 +02:00
parent 3bb9bf694e
commit d593e40f38

View File

@ -233,7 +233,7 @@ String processor(const String &var)
return temp;
}
#endif
#ifdef FEATURE_EABLE_GPS
#ifdef FEATURE_ENABLE_GPS
if (var == "GPSBAUD_SELECT_OPTIONS")
{
String temp;
@ -315,7 +315,7 @@ void WebserverPOST_Callback(AsyncWebServerRequest *request)
if (p->name() == "pulsesave")
globals.requestEEAction = EE_CFG_SAVE;
// end: POST Form Source Pulse Settings
#ifdef FEATURE_EABLE_GPS
#ifdef FEATURE_ENABLE_GPS
// begin: POST Form Source GPS Settings
if (p->name() == "gpsbaud")
LubeConfig.GPSBaudRate = (GPSBaudRate_t)p->value().toInt();
@ -323,7 +323,7 @@ void WebserverPOST_Callback(AsyncWebServerRequest *request)
globals.requestEEAction = EE_CFG_SAVE;
// end: POST Form Source GPS Settings
#endif
#ifdef FEATURE_EABLE_CAN
#ifdef FEATURE_ENABLE_CAN
// begin: POST Form Source CAN Settings
if (p->name() == "cansource")
LubeConfig.CANSource = (CANSource_t)p->value().toInt();