MCPcopy Create free account
hub / github.com/bdring/FluidNC / listChannels

Method listChannels

FluidNC/src/Serial.cpp:111–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111void AllChannels::listChannels(Channel& out) {
112 _mutex_general.lock();
113 std::string retval;
114 for (auto channel : _channelq) {
115 log_stream(out, channel->name());
116 }
117 _mutex_general.unlock();
118}
119
120void AllChannels::flushRx() {
121 _mutex_general.lock();

Callers 1

showChannelInfoFunction · 0.80

Calls 3

lockMethod · 0.80
unlockMethod · 0.80
nameMethod · 0.45

Tested by

no test coverage detected