From f59916679df7814367fb784999850613dbbb048a Mon Sep 17 00:00:00 2001 From: Sergey Date: Tue, 14 Sep 2021 10:27:14 +0300 Subject: [PATCH] fix dealy --- Marlin/src/module/mks_wifi/mks_wifi_sd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/module/mks_wifi/mks_wifi_sd.cpp b/Marlin/src/module/mks_wifi/mks_wifi_sd.cpp index f7efbf6839..68f7b50be7 100644 --- a/Marlin/src/module/mks_wifi/mks_wifi_sd.cpp +++ b/Marlin/src/module/mks_wifi/mks_wifi_sd.cpp @@ -222,7 +222,7 @@ void mks_wifi_start_file_upload(ESP_PROTOC_FRAME *packet){ USART1->CR1 |= USART_CR1_RE; #endif - safe_delay(200); + delay(200); (void)USART1->DR; TERN_(USE_WATCHDOG, HAL_watchdog_refresh());