| 154 | } |
| 155 | |
| 156 | void 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 | |
| 170 | void SensorPlugin::stop() |
| 171 | { |