MCPcopy Create free account
hub / github.com/PricelessToolkit/MailBoxGuard / resetState

Method resetState

Code/Arduino_libraries/SSD1306/OLEDDisplayUi.cpp:292–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290}
291
292void OLEDDisplayUi::resetState() {
293 this->state.lastUpdate = 0;
294 this->state.ticksSinceLastStateSwitch = 0;
295 this->state.frameState = FIXED;
296 this->state.currentFrame = 0;
297 this->state.isIndicatorDrawn = true;
298}
299
300void OLEDDisplayUi::drawFrame(){
301 switch (this->state.frameState){

Callers 1

setFramesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected