MCPcopy Create free account
hub / github.com/DreamSourceLab/DSView / has_enabled_channel

Method has_enabled_channel

DSView/pv/data/analogsnapshot.cpp:426–434  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

424}
425
426bool AnalogSnapshot::has_enabled_channel(int index)
427{
428
429 for (int iter : _enabled_channel_indexs) {
430 if (iter == index)
431 return true;
432 }
433 return false;
434}
435
436} // namespace data
437} // namespace pv

Callers 1

paint_midMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected