logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

linus: apps/plugins battery_test.c,1.3,1.4: msg#00185

Subject: linus: apps/plugins battery_test.c,1.3,1.4
Update of /cvsroot/rockbox/apps/plugins
In directory labb.contactor.se:/var/tmp/cvs-serv22907/apps/plugins

Modified Files:
        battery_test.c 
Log Message:
Adapted to the new event handling

Index: battery_test.c
===================================================================
RCS file: /cvsroot/rockbox/apps/plugins/battery_test.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- battery_test.c      23 Jun 2004 08:49:55 -0000      1.3
+++ battery_test.c      26 Jul 2004 23:35:15 -0000      1.4
@@ -104,8 +104,8 @@
 #endif
                 )
                 return PLUGIN_OK;
-            if (button==SYS_USB_CONNECTED) {
-                rb->usb_screen();
+            
+            if (rb->default_event_handler(button) == SYS_USB_CONNECTED) {
                 return PLUGIN_USB_CONNECTED;
             }
         } while (!(button&(BUTTON_REL|BUTTON_REPEAT)));

_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox-cvs



<Prev in Thread] Current Thread [Next in Thread>