mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 13:25:30 +03:00
Fix spelling
This commit is contained in:
parent
919f0caa6b
commit
9c40903713
1 changed files with 4 additions and 4 deletions
|
@ -39,7 +39,7 @@
|
||||||
|
|
||||||
static const struct serialPortVTable tcpVTable; // Forward
|
static const struct serialPortVTable tcpVTable; // Forward
|
||||||
static tcpPort_t tcpSerialPorts[SERIAL_PORT_COUNT];
|
static tcpPort_t tcpSerialPorts[SERIAL_PORT_COUNT];
|
||||||
static bool tcpPortInited[SERIAL_PORT_COUNT];
|
static bool tcpPortInitialized[SERIAL_PORT_COUNT];
|
||||||
static bool tcpStart = false;
|
static bool tcpStart = false;
|
||||||
bool tcpIsStart(void) {
|
bool tcpIsStart(void) {
|
||||||
return tcpStart;
|
return tcpStart;
|
||||||
|
@ -76,8 +76,8 @@ static void onAccept(dyad_Event *e) {
|
||||||
}
|
}
|
||||||
static tcpPort_t* tcpReconfigure(tcpPort_t *s, int id)
|
static tcpPort_t* tcpReconfigure(tcpPort_t *s, int id)
|
||||||
{
|
{
|
||||||
if(tcpPortInited[id]) {
|
if(tcpPortInitialized[id]) {
|
||||||
fprintf(stderr, "port is already initialed!\n");
|
fprintf(stderr, "port is already initialized!\n");
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -93,7 +93,7 @@ static tcpPort_t* tcpReconfigure(tcpPort_t *s, int id)
|
||||||
}
|
}
|
||||||
|
|
||||||
tcpStart = true;
|
tcpStart = true;
|
||||||
tcpPortInited[id] = true;
|
tcpPortInitialized[id] = true;
|
||||||
|
|
||||||
s->connected = false;
|
s->connected = false;
|
||||||
s->clientCount = 0;
|
s->clientCount = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue