diff options
| author | Franklin Wei <frankhwei536@gmail.com> | 2016-06-13 20:53:19 -0400 |
|---|---|---|
| committer | Franklin Wei <frankhwei536@gmail.com> | 2016-06-13 20:53:19 -0400 |
| commit | f9a740d3798ad0b17a3dd1f4bf51bef187b1dcd3 (patch) | |
| tree | f48ae52433fbfd7186dc9c71112c786237cd4cbc /apps/plugin.h | |
| parent | 68a2cca843b109bb84f8479e76bd2aea869ab48d (diff) | |
| parent | 6cf15b3627fec293d8801223175f50ae747fed45 (diff) | |
| download | rockbox-f9a740d3798ad0b17a3dd1f4bf51bef187b1dcd3.zip rockbox-f9a740d3798ad0b17a3dd1f4bf51bef187b1dcd3.tar.gz rockbox-f9a740d3798ad0b17a3dd1f4bf51bef187b1dcd3.tar.bz2 rockbox-f9a740d3798ad0b17a3dd1f4bf51bef187b1dcd3.tar.xz | |
Merge branch 'otp' into working
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 18c2bd0..0ffedea 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -160,12 +160,12 @@ void* plugin_get_buffer(size_t *buffer_size); #define PLUGIN_MAGIC 0x526F634B /* RocK */ /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 233 +#define PLUGIN_API_VERSION 234 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any new function which are "waiting" at the end of the function table) */ -#define PLUGIN_MIN_API_VERSION 233 +#define PLUGIN_MIN_API_VERSION 234 /* plugin return codes */ /* internal returns start at 0x100 to make exit(1..255) work */ @@ -561,6 +561,7 @@ struct plugin_api { void (*usb_acknowledge)(long id); #ifdef USB_ENABLE_HID void (*usb_hid_send)(usage_page_t usage_page, int id); + uint8_t (*usb_hid_leds)(void); #endif #ifdef RB_PROFILE void (*profile_thread)(void); |