diff --git a/apps/plugins/chessclock.c b/apps/plugins/chessclock.c index 8b17964..38e34ee 100644 --- a/apps/plugins/chessclock.c +++ b/apps/plugins/chessclock.c @@ -19,6 +19,7 @@ * ****************************************************************************/ #include "plugin.h" +#include "lib/playback_control.h" PLUGIN_HEADER @@ -499,8 +500,9 @@ static int run_timer(int nr) { int ret; char *menu[]={"Delete player", "Restart round", - "Set round time", "Set total time"}; - ret=simple_menu(4, (unsigned char **)menu); + "Set round time", "Set total time", + "Playback Control"}; + ret=simple_menu(5, (unsigned char **)menu); if (ret==-1) { retval = 3; done=true; @@ -543,6 +545,9 @@ static int run_timer(int nr) } else if (res==1) { timer_holder[nr].total_time=val; } + } else if (ret==4) { + playback_control(NULL); + rb->lcd_clear_display(); } } break;