Skip to content

Commit

Permalink
Update serial_network_hal.c
Browse files Browse the repository at this point in the history
  • Loading branch information
BHAY-3DiTex authored Jan 23, 2024
1 parent b87a203 commit ad0330b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network/serial_network/HAL/NATIVE/serial_network_hal.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ad0330b

Please sign in to comment.