diff options
Diffstat (limited to 'apps/plugin.c')
-rw-r--r-- | apps/plugin.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index f78644f73b..d69fbfc3aa 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -33,6 +33,7 @@ | |||
33 | #include "logf.h" | 33 | #include "logf.h" |
34 | #include "screens.h" | 34 | #include "screens.h" |
35 | #include "misc.h" | 35 | #include "misc.h" |
36 | #include "i2c.h" | ||
36 | #include "mas.h" | 37 | #include "mas.h" |
37 | #include "plugin.h" | 38 | #include "plugin.h" |
38 | #include "lang.h" | 39 | #include "lang.h" |
@@ -403,6 +404,11 @@ static const struct plugin_api rockbox_api = { | |||
403 | /* new stuff at the end, sort into place next time | 404 | /* new stuff at the end, sort into place next time |
404 | the API gets incompatible */ | 405 | the API gets incompatible */ |
405 | set_sound, | 406 | set_sound, |
407 | #if ((CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F)) && !defined(SIMULATOR) | ||
408 | i2c_begin, | ||
409 | i2c_end, | ||
410 | i2c_write, | ||
411 | #endif | ||
406 | }; | 412 | }; |
407 | 413 | ||
408 | int plugin_load(const char* plugin, void* parameter) | 414 | int plugin_load(const char* plugin, void* parameter) |