From 5810a785305d99b08ae498daf6146cfabb158c33 Mon Sep 17 00:00:00 2001 From: Eduard Sukharev Date: Fri, 10 Mar 2023 20:42:52 +0300 Subject: [PATCH] Fix 'const const' --- Marlin/src/lcd/extui/mks_ui/wifi_module.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/lcd/extui/mks_ui/wifi_module.cpp b/Marlin/src/lcd/extui/mks_ui/wifi_module.cpp index df7ffec13a21..b38910997583 100644 --- a/Marlin/src/lcd/extui/mks_ui/wifi_module.cpp +++ b/Marlin/src/lcd/extui/mks_ui/wifi_module.cpp @@ -1443,7 +1443,7 @@ static void wifi_list_msg_handle(const uint8_t * const msg, const uint16_t msgLe } } -static void gcode_msg_handle(const uint8_t * const msg, const const uint16_t msgLen) { +static void gcode_msg_handle(const uint8_t * const msg, const uint16_t msgLen) { uint8_t gcodeBuf[100] = { 0 }; if (msgLen <= 0) return;