mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 11:29:58 +03:00
update serTcpOpen declaration to fix compile errors (#14113)
update serTcpopen declaration to fix compile errors
This commit is contained in:
parent
31bd403446
commit
2a50634f67
1 changed files with 2 additions and 1 deletions
|
@ -23,6 +23,7 @@
|
|||
#include <netinet/in.h>
|
||||
#include <pthread.h>
|
||||
#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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue