MCPcopy Create free account
hub / github.com/Schildkroet/Candle2 / SerialIf_ReadLine

Function SerialIf_ReadLine

src/interface/SerialInterface.cpp:184–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182}
183
184QByteArray SerialIf_ReadLine()
185{
186 if(m_Interface == IF_SERIAL)
187 {
188 return m_serialPort.readLine();
189 }
190 else if(m_Interface == IF_ETHERNET)
191 {
192 return m_tcpSocket.readLine();
193 }
194
195 // Return empty array
196 return QByteArray();
197}
198
199qint64 SerialIf_Read(quint8 *data, qint64 max)
200{

Callers 2

ProcessGRBL1_1Method · 0.85
ProcessGRBL2Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected