diff options
4 files changed, 4 insertions, 5 deletions
diff --git a/apps/plugins/lib/configfile.h b/apps/plugins/lib/configfile.h
index 5dc31735a3..231a833d9c 100644
--- a/apps/plugins/lib/configfile.h
+++ b/apps/plugins/lib/configfile.h
@@ -24,7 +24,7 @@
#define TYPE_INT 1
#define TYPE_ENUM 2
#define TYPE_STRING 3
-#define TYPE_BOOL 4
+#define TYPE_BOOL 4
struct configdata
diff --git a/apps/plugins/lib/grey_core.c b/apps/plugins/lib/grey_core.c
index 6fa422be05..f61743b8aa 100644
--- a/apps/plugins/lib/grey_core.c
+++ b/apps/plugins/lib/grey_core.c
@@ -479,7 +479,6 @@ static void fill_gvalues(void)
/* Initialise the framework and prepare the greyscale display buffer
- newrb = pointer to plugin api
gbuf = pointer to the memory area to use (e.g. plugin buffer)
gbuf_size = max usable size of the buffer
features = flags for requesting features
diff --git a/apps/plugins/lib/overlay.c b/apps/plugins/lib/overlay.c
index 44bca1d989..fb779e4f82 100644
--- a/apps/plugins/lib/overlay.c
+++ b/apps/plugins/lib/overlay.c
@@ -28,7 +28,6 @@
/* load and run a plugin linked as an overlay.
- rb = pointer to plugin api, also passed on to the overlay
parameter = plugin parameter, passed on to the overlay
filename = overlay file name, absolute path as usual
name = overlay display name
diff --git a/apps/plugins/lib/playback_control.h b/apps/plugins/lib/playback_control.h
index 43719615ad..3762837740 100644
--- a/apps/plugins/lib/playback_control.h
+++ b/apps/plugins/lib/playback_control.h
@@ -21,12 +21,13 @@
-/* Use these if your menu uses the new menu api.
- REMEMBER to call playback_control_init(rb) before rb->do_menu()...
+/* Use these if your menu uses the new menu api.
+ REMEMBER to call playback_control_init(parent) before rb->do_menu()...
The parent viewport here is needed by the internal functions,
So, make sure you use the same viewport for the rb->do_menu() call
that you use in the playback_control_init() call
+extern const struct menu_item_ex playback_control_menu;
void playback_control_init(struct viewport parent[NB_SCREENS]);
/* Use this if your menu still uses the old menu api */