From 4a23898289f13f245919f96572fc911b7623e99e Mon Sep 17 00:00:00 2001 From: E2D Date: Thu, 4 Jan 2024 17:01:42 +0800 Subject: [PATCH] Update ESP170.cpp (#989) Fix minor issues Signed-off-by: E2D --- esp3d/src/core/commands/ESP170.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp3d/src/core/commands/ESP170.cpp b/esp3d/src/core/commands/ESP170.cpp index 297be87a..29bca103 100644 --- a/esp3d/src/core/commands/ESP170.cpp +++ b/esp3d/src/core/commands/ESP170.cpp @@ -73,7 +73,7 @@ void ESP3DCommands::ESP170(int cmd_params_pos, ESP3DMessage* msg) { bool json = hasTag(msg, cmd_params_pos, "json"); String tmpstr; -#if AUTHENTICATION_FEATURE +#ifdef AUTHENTICATION_FEATURE if (msg->authentication_level == ESP3DAuthenticationLevel::guest) { dispatchAuthenticationError(msg, COMMAND_ID, json); return;