MCPcopy Create free account
hub / github.com/Blueforcer/awtrix3 / select_button_double

Function select_button_double

src/PeripheryManager.cpp:216–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214}
215
216void select_button_double()
217{
218 if (DEBUG_MODE)
219 DEBUG_PRINTLN(F("Select button double pressed"));
220 if (!BLOCK_NAVIGATION)
221 {
222 if (DFPLAYER_ACTIVE)
223 PeripheryManager.playFromFile(DFMINI_MP3_CLICK);
224
225 if (MATRIX_OFF)
226 {
227 DisplayManager.setPower(true);
228 }
229 else
230 {
231 DisplayManager.setPower(false);
232 }
233 }
234}
235
236void PeripheryManager_::playBootSound()
237{

Callers

nothing calls this directly

Calls 2

playFromFileMethod · 0.80
setPowerMethod · 0.80

Tested by

no test coverage detected