summaryrefslogtreecommitdiff
path: root/apps/plugins/calendar.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/calendar.c')
-rw-r--r--apps/plugins/calendar.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/plugins/calendar.c b/apps/plugins/calendar.c
index e938af873e..e00afe19b6 100644
--- a/apps/plugins/calendar.c
+++ b/apps/plugins/calendar.c
@@ -24,6 +24,7 @@
24#if defined(HAVE_LCD_BITMAP) && (CONFIG_RTC != 0) 24#if defined(HAVE_LCD_BITMAP) && (CONFIG_RTC != 0)
25 25
26#include <timefuncs.h> 26#include <timefuncs.h>
27#include "lib/playback_control.h"
27 28
28PLUGIN_HEADER 29PLUGIN_HEADER
29 30
@@ -620,7 +621,8 @@ static bool edit_memo(int change, struct shown *shown)
620 MENUITEM_STRINGLIST(edit_menu, "Edit menu", edit_menu_cb, 621 MENUITEM_STRINGLIST(edit_menu, "Edit menu", edit_menu_cb,
621 "Remove", "Edit", 622 "Remove", "Edit",
622 "New Weekly", "New Monthly", 623 "New Weekly", "New Monthly",
623 "New Yearly", "New One off"); 624 "New Yearly", "New One off",
625 "Playback Control");
624 626
625 while (!exit) 627 while (!exit)
626 { 628 {
@@ -652,6 +654,10 @@ static bool edit_memo(int change, struct shown *shown)
652 add_memo(shown,3); 654 add_memo(shown,3);
653 return false; 655 return false;
654 656
657 case 6: /* playback control */
658 playback_control(NULL);
659 break;
660
655 case GO_TO_PREVIOUS: 661 case GO_TO_PREVIOUS:
656 return false; 662 return false;
657 663