MCPcopy 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
64void fxCloseSerial(txSerialTool self)
65{
66 if (self->serialConnection >= 0) {
67 close(self->serialConnection);
68 self->serialConnection = -1;
69 }
70}
71
72void fxCountMachines(txSerialTool self)
73{

Callers 3

fxReadSerialFunction · 0.70
handlerFunction · 0.70
mainFunction · 0.70

Calls 1

closeFunction · 0.50

Tested by

no test coverage detected