| 84 | } |
| 85 | |
| 86 | const char *getTimeFormat() |
| 87 | { |
| 88 | if (TIME_MODE == 0) |
| 89 | { |
| 90 | return TIME_FORMAT.c_str(); |
| 91 | } |
| 92 | else |
| 93 | { |
| 94 | if (TIME_FORMAT.length() > 5) |
| 95 | { |
| 96 | return TIME_FORMAT[2] == ' ' ? "%H %M" : "%H:%M"; |
| 97 | } |
| 98 | else |
| 99 | { |
| 100 | return TIME_FORMAT.c_str(); |
| 101 | } |
| 102 | } |
| 103 | } |
| 104 | |
| 105 | void TimeApp(FastLED_NeoMatrix *matrix, MatrixDisplayUiState *state, int16_t x, int16_t y, GifPlayer *gifPlayer) |
| 106 | { |