MCPcopy Create free account
hub / github.com/BlueAndi/Pixelix / getChannel

Method getChannel

lib/Sensors/src/SensorSystem.cpp:62–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60 *****************************************************************************/
61
62ISensorChannel* SensorSystem::getChannel(uint8_t index)
63{
64 ISensorChannel* channel = nullptr;
65
66 switch (index)
67 {
68 case 0U:
69 channel = &m_uptimeChannel;
70 break;
71
72 default:
73 break;
74 }
75
76 return channel;
77}
78
79/******************************************************************************
80 * Protected Methods

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected