From 2a50634f67fd841f2909f0414dc6c277e8806b5c Mon Sep 17 00:00:00 2001 From: Leo Garcia <34465410+DrAtomic@users.noreply.github.com> Date: Sat, 28 Dec 2024 12:41:32 -0800 Subject: [PATCH] update serTcpOpen declaration to fix compile errors (#14113) update serTcpopen declaration to fix compile errors --- src/main/drivers/serial_tcp.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/drivers/serial_tcp.h b/src/main/drivers/serial_tcp.h index 4e70f242b..a391e1089 100644 --- a/src/main/drivers/serial_tcp.h +++ b/src/main/drivers/serial_tcp.h @@ -23,6 +23,7 @@ #include #include #include "dyad.h" +#include "io/serial.h" #define RX_BUFFER_SIZE 1400 #define TX_BUFFER_SIZE 1400 @@ -41,7 +42,7 @@ typedef struct { uint8_t id; } tcpPort_t; -serialPort_t *serTcpOpen(int id, serialReceiveCallbackPtr rxCallback, void *rxCallbackData, uint32_t baudRate, portMode_e mode, portOptions_e options); +serialPort_t *serTcpOpen(serialPortIdentifier_e id, serialReceiveCallbackPtr rxCallback, void *rxCallbackData, uint32_t baudRate, portMode_e mode, portOptions_e options); // tcpPort API void tcpDataIn(tcpPort_t *instance, uint8_t* ch, int size); -- 2.11.4.GIT