diff --git a/lk2nd/device/menu/menu.c b/lk2nd/device/menu/menu.c index af40f6d14..10ac04a6b 100644 --- a/lk2nd/device/menu/menu.c +++ b/lk2nd/device/menu/menu.c @@ -140,6 +140,9 @@ void display_fastboot_menu(void) int y, y_menu, old_scale, incr; unsigned int sel = 0, i; + if (!fb) + return; + /* * Make sure the specified line lenght fits on the screen. */