mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
[4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice.
Note: I left behind lcd_bitmap in features.txt, because removing it would require considerable work in the manual and the translations. Change-Id: Ia8ca7761f610d9332a0d22a7d189775fb15ec88a
This commit is contained in:
parent
8cb555460f
commit
658026e626
240 changed files with 288 additions and 1759 deletions
|
@ -56,9 +56,7 @@
|
|||
#define USB_FULL_INIT
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
bool do_screendump_instead_of_usb = false;
|
||||
#endif
|
||||
|
||||
#if !defined(SIMULATOR) && !defined(USB_NONE)
|
||||
|
||||
|
@ -116,7 +114,6 @@ static void try_reboot(void)
|
|||
#endif /* USB_FIRWIRE_HANDLING */
|
||||
|
||||
/* Screen dump */
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
static inline bool usb_do_screendump(void)
|
||||
{
|
||||
if(do_screendump_instead_of_usb)
|
||||
|
@ -129,7 +126,6 @@ static inline bool usb_do_screendump(void)
|
|||
}
|
||||
return false;
|
||||
}
|
||||
#endif /* HAVE_LCD_BITMAP */
|
||||
|
||||
/* Power (charging-only) button */
|
||||
static inline void usb_detect_charging_only(bool detect)
|
||||
|
@ -458,13 +454,11 @@ static void NORETURN_ATTR usb_thread(void)
|
|||
if(usb_state != USB_EXTRACTED)
|
||||
break;
|
||||
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
if(usb_do_screendump())
|
||||
{
|
||||
usb_state = USB_SCREENDUMP;
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
|
||||
usb_state = USB_POWERED;
|
||||
usb_stack_enable(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue