diff --git a/esp3d/command.cpp b/esp3d/command.cpp index 6b4f4202..314f3a52 100644 --- a/esp3d/command.cpp +++ b/esp3d/command.cpp @@ -162,6 +162,7 @@ bool COMMAND::execute_command (int cmd, String cmd_params, tpipe output, level_a { bool response = true; level_authenticate_type auth_type = auth_level; + (void)auth_type; //avoid warning if updater only #ifdef AUTHENTICATION_FEATURE if (isadmin(cmd_params)) { diff --git a/esp3d/espcom.cpp b/esp3d/espcom.cpp index 22803845..aac28216 100644 --- a/esp3d/espcom.cpp +++ b/esp3d/espcom.cpp @@ -390,6 +390,7 @@ void ESPCOM::send2TCP (const char * data, bool async) bool ESPCOM::processFromSerial (bool async) { uint8_t i; + (void)i; //avoid warning if updater only //check UART for data if (ESPCOM::available(DEFAULT_PRINTER_PIPE)) { size_t len = ESPCOM::available(DEFAULT_PRINTER_PIPE);