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

Method start

lib/SensorPlugin/src/SensorPlugin.cpp:156–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156void SensorPlugin::start(uint16_t width, uint16_t height)
157{
158 MutexGuard<MutexRecursive> guard(m_mutex);
159
160 m_view.init(width, height);
161
162 PluginWithConfig::start(width, height);
163
164 m_sensorChannel = getChannel(m_sensorIdx, m_channelIdx);
165
166 /* Force update. */
167 m_updateTimer.start(0U);
168}
169
170void SensorPlugin::stop()
171{

Callers 1

updateMethod · 0.45

Calls 1

initMethod · 0.45

Tested by

no test coverage detected