forked from len0rd/rockbox
Revert "Introduce plugin_crt0.c that every plugin links."
Too much errors and no time to fix them now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27863 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
abdc5935be
commit
93cb949372
142 changed files with 341 additions and 372 deletions
|
|
@ -19,11 +19,10 @@
|
|||
|
||||
#include "plugin.h"
|
||||
#include "lib/helper.h"
|
||||
#include "lib/pluginlib_exit.h"
|
||||
|
||||
#ifdef HAVE_LCD_BITMAP /* and also not for the Player */
|
||||
|
||||
|
||||
PLUGIN_HEADER
|
||||
|
||||
/******************************* Globals ***********************************/
|
||||
|
||||
|
|
@ -498,11 +497,9 @@ int plugin_main(void)
|
|||
case STARFIELD_RC_QUIT:
|
||||
#endif
|
||||
case(STARFIELD_QUIT):
|
||||
case(SYS_USB_CONNECTED):
|
||||
return PLUGIN_OK;
|
||||
break;
|
||||
default:
|
||||
exit_on_usb(button);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue