mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
[2/4] get rid of HAVE_LCD_CHARCELLS
HAVE_LCD_BITMAP is now redundant. lcd_bitmap is always-on in features.txt so manual and lang strings don't have to change Change-Id: I08eeb20de48099ffc2dc23782711af368c2ec794
This commit is contained in:
parent
092c340a20
commit
0c4f89370d
77 changed files with 117 additions and 6004 deletions
|
|
@ -19,7 +19,6 @@
|
|||
*
|
||||
**************************************************************************/
|
||||
#include "plugin.h"
|
||||
#include "lib/playergfx.h"
|
||||
#include "lib/mylcd.h"
|
||||
#include "lib/pluginlib_actions.h"
|
||||
|
||||
|
|
@ -59,14 +58,6 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
int sy = 3;
|
||||
(void)parameter;
|
||||
|
||||
#ifdef HAVE_LCD_CHARCELLS
|
||||
if (!pgfx_init(4, 2))
|
||||
{
|
||||
rb->splash(HZ*2, "Old LCD :(");
|
||||
return PLUGIN_OK;
|
||||
}
|
||||
pgfx_display(3, 0);
|
||||
#endif
|
||||
mylcd_clear_display();
|
||||
mylcd_set_drawmode(DRMODE_COMPLEMENT);
|
||||
while (1) {
|
||||
|
|
@ -117,9 +108,6 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
case MOSAIQUE_QUIT:
|
||||
case MOSAIQUE_QUIT2:
|
||||
mylcd_set_drawmode(DRMODE_SOLID);
|
||||
#ifdef HAVE_LCD_CHARCELLS
|
||||
pgfx_release();
|
||||
#endif
|
||||
return PLUGIN_OK;
|
||||
|
||||
case MOSAIQUE_SPEED:
|
||||
|
|
@ -142,9 +130,6 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
if (rb->default_event_handler(button) == SYS_USB_CONNECTED)
|
||||
{
|
||||
mylcd_set_drawmode(DRMODE_SOLID);
|
||||
#ifdef HAVE_LCD_CHARCELLS
|
||||
pgfx_release();
|
||||
#endif
|
||||
return PLUGIN_USB_CONNECTED;
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue