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

Method hasTopicChanged

lib/SensorPlugin/src/SensorPlugin.cpp:143–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143bool SensorPlugin::hasTopicChanged(const String& topic)
144{
145 MutexGuard<MutexRecursive> guard(m_mutex);
146 bool hasTopicChanged = m_hasTopicChanged;
147
148 /* Only a single topic, therefore its not necessary to check. */
149 PLUGIN_NOT_USED(topic);
150
151 m_hasTopicChanged = false;
152
153 return hasTopicChanged;
154}
155
156void SensorPlugin::start(uint16_t width, uint16_t height)
157{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected