forked from len0rd/rockbox
Update comments in the helloword plugin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27949 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
da16248e47
commit
ce0d2b1d47
1 changed files with 5 additions and 4 deletions
|
@ -18,13 +18,11 @@
|
|||
* KIND, either express or implied.
|
||||
*
|
||||
****************************************************************************/
|
||||
#include "plugin.h"
|
||||
|
||||
/* welcome to the example rockbox plugin */
|
||||
|
||||
/* This macros must always be included. Should be placed at the top by
|
||||
convention, although the actual position doesn't matter */
|
||||
|
||||
/* mandatory include for all plugins */
|
||||
#include "plugin.h"
|
||||
|
||||
/* this is the plugin entry point */
|
||||
enum plugin_status plugin_start(const void* parameter)
|
||||
|
@ -33,8 +31,11 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
this to avoid the compiler warning about it */
|
||||
(void)parameter;
|
||||
|
||||
/* "rb->" marks a plugin api call. Rockbox offers many of its built-in
|
||||
* functions to plugins */
|
||||
/* now go ahead and have fun! */
|
||||
rb->splash(HZ*2, "Hello world!");
|
||||
|
||||
/* tell Rockbox that we have completed successfully */
|
||||
return PLUGIN_OK;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue