git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22935 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Karl Kurbjun 2009-10-05 02:17:27 +00:00
parent 5949250ce1
commit fac05ab2f7
3 changed files with 6 additions and 1 deletions

View file

@ -668,8 +668,9 @@ static const struct plugin_api rockbox_api = {
appsversion,
/* new stuff at the end, sort into place next time
the API gets incompatible */
#ifdef HAVE_BUTTON_DATA
button_status_wdata,
#endif
};
int plugin_load(const char* plugin, const void* parameter)

View file

@ -837,7 +837,9 @@ struct plugin_api {
/* new stuff at the end, sort into place next time
the API gets incompatible */
#ifdef HAVE_BUTTON_DATA
int (*button_status_wdata)(int *pdata);
#endif
};
/* plugin header */

View file

@ -305,7 +305,9 @@ static void button_tick(void)
}
}
lastbtn = btn & ~(BUTTON_REL | BUTTON_REPEAT);
#ifdef HAVE_BUTTON_DATA
lastdata = data;
#endif
}
#ifdef HAVE_ADJUSTABLE_CPU_FREQ