Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Moddable-OpenSource/moddable
/ fxCloseSerial
Function
fxCloseSerial
tools/serial2xsbug/serial2xsbug_lin.c:64–70 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
62
}
63
64
void fxCloseSerial(txSerialTool self)
65
{
66
if (self->serialConnection >= 0) {
67
close(self->serialConnection);
68
self->serialConnection = -1;
69
}
70
}
71
72
void fxCountMachines(txSerialTool self)
73
{
Callers
3
fxReadSerial
Function · 0.70
handler
Function · 0.70
main
Function · 0.70
Calls
1
close
Function · 0.50
Tested by
no test coverage detected