diff options
Diffstat (limited to 'apps/plugins/cube.c')
-rw-r--r-- | apps/plugins/cube.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/cube.c b/apps/plugins/cube.c index c7f7b63243..3e7e7f1ce2 100644 --- a/apps/plugins/cube.c +++ b/apps/plugins/cube.c | |||
@@ -534,7 +534,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) | |||
534 | xlcd_init(rb); | 534 | xlcd_init(rb); |
535 | #elif defined(USE_GSLIB) | 535 | #elif defined(USE_GSLIB) |
536 | gbuf = (unsigned char *)rb->plugin_get_buffer(&gbuf_size); | 536 | gbuf = (unsigned char *)rb->plugin_get_buffer(&gbuf_size); |
537 | if (gray_init(rb, gbuf, gbuf_size, true, LCD_WIDTH, LCD_HEIGHT/8, 3, NULL) | 537 | if (gray_init(rb, gbuf, gbuf_size, true, LCD_WIDTH, LCD_HEIGHT/8, 3, 0, NULL) |
538 | != 3) | 538 | != 3) |
539 | { | 539 | { |
540 | rb->splash(HZ, true, "Couldn't get grayscale buffer"); | 540 | rb->splash(HZ, true, "Couldn't get grayscale buffer"); |