diff options
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/chessclock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/chessclock.c b/apps/plugins/chessclock.c index a25221d619..cf20de873d 100644 --- a/apps/plugins/chessclock.c +++ b/apps/plugins/chessclock.c | |||
@@ -369,8 +369,8 @@ static int run_timer(int nr) | |||
369 | 369 | ||
370 | default: | 370 | default: |
371 | if (rb->default_event_handler(button) == SYS_USB_CONNECTED) { | 371 | if (rb->default_event_handler(button) == SYS_USB_CONNECTED) { |
372 | retval = 3; /* been in usb mode */ | ||
372 | done = true; | 373 | done = true; |
373 | return 3; /* been in usb mode */ | ||
374 | } | 374 | } |
375 | break; | 375 | break; |
376 | } | 376 | } |