From ad0330ba334cbd68d41a64a18a153ca6a64f60aa Mon Sep 17 00:00:00 2001 From: BHAY-3DiTex <94361698+BHAY-3DiTex@users.noreply.github.com> Date: Tue, 23 Jan 2024 18:07:42 +0100 Subject: [PATCH] Update serial_network_hal.c --- network/serial_network/HAL/NATIVE/serial_network_hal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network/serial_network/HAL/NATIVE/serial_network_hal.c b/network/serial_network/HAL/NATIVE/serial_network_hal.c index 777d0eea0..bf7ca9912 100644 --- a/network/serial_network/HAL/NATIVE/serial_network_hal.c +++ b/network/serial_network/HAL/NATIVE/serial_network_hal.c @@ -186,7 +186,7 @@ void SerialHAL_Init(uint8_t *rx_buffer, uint32_t buffer_size) // Open the serial port #ifdef _WIN32 char tmp[128]; - sprintf(tmp, "\\\\.\\%s", portname); + sprintf(tmp, "\\\\.\\%s", portname); hSerial = CreateFile( tmp, GENERIC_READ | GENERIC_WRITE,