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

Method active

lib/DateTimePlugin/src/DateTimePlugin.cpp:170–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168}
169
170void DateTimePlugin::active(YAGfx& gfx)
171{
172 MutexGuard<MutexRecursive> guard(m_mutex);
173
174 UTIL_NOT_USED(gfx);
175
176 /* The date/time information shall be retrieved every second while plugin is activated. */
177 m_durationCounter = 0U;
178 m_checkUpdateTimer.start(CHECK_UPDATE_PERIOD);
179
180 /* The date/time shall be updated on the display right after plugin activation. */
181 updateDateTime(true);
182}
183
184void DateTimePlugin::inactive()
185{

Callers

nothing calls this directly

Calls 1

startMethod · 0.45

Tested by

no test coverage detected