| 193 | } |
| 194 | |
| 195 | void select_button_pressed_long() |
| 196 | { |
| 197 | if (DFPLAYER_ACTIVE) |
| 198 | PeripheryManager.playFromFile(DFMINI_MP3_CLICK); |
| 199 | if (AP_MODE) |
| 200 | { |
| 201 | ++MATRIX_LAYOUT; |
| 202 | if (MATRIX_LAYOUT < 0) |
| 203 | MATRIX_LAYOUT = 2; |
| 204 | saveSettings(); |
| 205 | ESP.restart(); |
| 206 | } |
| 207 | else if (!BLOCK_NAVIGATION) |
| 208 | { |
| 209 | MenuManager.selectButtonLong(); |
| 210 | DisplayManager.selectButtonLong(); |
| 211 | if (DEBUG_MODE) |
| 212 | DEBUG_PRINTLN(F("Select button pressed long")); |
| 213 | } |
| 214 | } |
| 215 | |
| 216 | void select_button_double() |
| 217 | { |
nothing calls this directly
no test coverage detected