#ifdef HAVE_LCD_BITMAP
sleep(50); //with these two sleep (random ticks, no matter for now) doesn't crash when dumping the screen
// otherwise it does!!
if(usb_do_screendump())
{
sleep(50); // ^
usb_state = USB_SCREENDUMP;
break;
}
#endif