diff options
Diffstat (limited to 'visualizer.c')
| -rw-r--r-- | visualizer.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/visualizer.c b/visualizer.c index 2a92524e2..402bbd151 100644 --- a/visualizer.c +++ b/visualizer.c | |||
| @@ -321,6 +321,13 @@ static THD_FUNCTION(visualizerThread, arg) { | |||
| 321 | } | 321 | } |
| 322 | 322 | ||
| 323 | void visualizer_init(void) { | 323 | void visualizer_init(void) { |
| 324 | #ifdef LCD_ENABLE | ||
| 325 | gfxInit(); | ||
| 326 | #endif | ||
| 327 | |||
| 328 | #ifdef LCD_BACKLIGHT_ENABLE | ||
| 329 | lcd_backlight_init(); | ||
| 330 | #endif | ||
| 324 | // We are using a low priority thread, the idea is to have it run only | 331 | // We are using a low priority thread, the idea is to have it run only |
| 325 | // when the main thread is sleeping during the matrix scanning | 332 | // when the main thread is sleeping during the matrix scanning |
| 326 | chEvtObjectInit(&layer_changed_event); | 333 | chEvtObjectInit(&layer_changed_event); |
