From 79afbafa669bee52059d980ae887dfa06948c252 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sun, 17 Oct 2004 00:54:09 +0000 Subject: Plugin rework 2: (most) Compile-time keyboard configuration, for Ondio adaption. (all) Now using the default event handler, standard placement is now in switch() default case. (calendar, chip8) Fixed usb handling. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5295 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/calendar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/plugins/calendar.c') diff --git a/apps/plugins/calendar.c b/apps/plugins/calendar.c index b501115618..8870554290 100644 --- a/apps/plugins/calendar.c +++ b/apps/plugins/calendar.c @@ -592,6 +592,7 @@ static bool any_events(struct shown *shown, bool force) if(rb->default_event_handler(button) == SYS_USB_CONNECTED) been_in_usb_mode = true; show_lines(lines_displayed,shown); + rb->lcd_update(); break; } } @@ -707,8 +708,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) break; case BUTTON_PLAY: - if (any_events(&shown, true)) - rb->usb_screen(); + any_events(&shown, true); draw_calendar(&shown); break; -- cgit v1.2.3