diff options
Diffstat (limited to 'apps/plugins/wormlet.c')
-rw-r--r-- | apps/plugins/wormlet.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/plugins/wormlet.c b/apps/plugins/wormlet.c index 1da772dbbc..7dc0ecdf90 100644 --- a/apps/plugins/wormlet.c +++ b/apps/plugins/wormlet.c | |||
@@ -1479,6 +1479,11 @@ static int run(void) | |||
1479 | int i; | 1479 | int i; |
1480 | long cycle_duration=0; | 1480 | long cycle_duration=0; |
1481 | 1481 | ||
1482 | #ifdef HAS_BUTTON_HOLD | ||
1483 | if (rb->button_hold()) | ||
1484 | paused = true; | ||
1485 | #endif | ||
1486 | |||
1482 | switch (button) { | 1487 | switch (button) { |
1483 | case BTN_STARTPAUSE: | 1488 | case BTN_STARTPAUSE: |
1484 | paused = !paused; | 1489 | paused = !paused; |