iPod: current_tick is now a variable, so we can export it via the plugin and codec APIs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8225 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
544b03cf9a
commit
77bf6bf370
4 changed files with 0 additions and 8 deletions
|
@ -124,9 +124,7 @@ struct codec_api ci = {
|
|||
/* kernel/ system */
|
||||
PREFIX(sleep),
|
||||
yield,
|
||||
#if CONFIG_CPU != PP5020
|
||||
¤t_tick,
|
||||
#endif
|
||||
default_event_handler,
|
||||
default_event_handler_ex,
|
||||
create_thread,
|
||||
|
|
|
@ -197,9 +197,7 @@ struct codec_api {
|
|||
/* kernel/ system */
|
||||
void (*PREFIX(sleep))(int ticks);
|
||||
void (*yield)(void);
|
||||
#if CONFIG_CPU != PP5020
|
||||
long* current_tick;
|
||||
#endif
|
||||
long (*default_event_handler)(long event);
|
||||
long (*default_event_handler_ex)(long event, void (*callback)(void *), void *parameter);
|
||||
int (*create_thread)(void (*function)(void), void* stack, int stack_size, const char *name);
|
||||
|
|
|
@ -208,9 +208,7 @@ static const struct plugin_api rockbox_api = {
|
|||
/* kernel/ system */
|
||||
PREFIX(sleep),
|
||||
yield,
|
||||
#if CONFIG_CPU != PP5020
|
||||
¤t_tick,
|
||||
#endif
|
||||
default_event_handler,
|
||||
default_event_handler_ex,
|
||||
create_thread,
|
||||
|
|
|
@ -277,9 +277,7 @@ struct plugin_api {
|
|||
/* kernel/ system */
|
||||
void (*PREFIX(sleep))(int ticks);
|
||||
void (*yield)(void);
|
||||
#if CONFIG_CPU!=PP5020
|
||||
long* current_tick;
|
||||
#endif
|
||||
long (*default_event_handler)(long event);
|
||||
long (*default_event_handler_ex)(long event, void (*callback)(void *), void *parameter);
|
||||
int (*create_thread)(void (*function)(void), void* stack, int stack_size, const char *name);
|
||||
|
|
Loading…
Reference in a new issue