Fix missing defined

This commit is contained in:
Luc 2024-01-04 17:02:52 +08:00
parent 0057961497
commit 0fc374bb16

View File

@ -880,7 +880,7 @@ bool ESP3DCommands::dispatchSetting(bool json, const char *filter,
break;
default: // String
if (index == ESP_STA_PASSWORD || index == ESP_AP_PASSWORD ||
#if ESP3D_NOTIFICATIONS_FEATURE
#if defined (ESP3D_NOTIFICATIONS_FEATURE)
index == ESP_NOTIFICATION_TOKEN1 ||
index == ESP_NOTIFICATION_TOKEN2 ||
#endif // ESP3D_NOTIFICATIONS_FEATURE