diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/jpeg.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/apps/plugins/jpeg.c b/apps/plugins/jpeg.c index 62d6f1efe9..eb47e142aa 100644 --- a/apps/plugins/jpeg.c +++ b/apps/plugins/jpeg.c | |||
@@ -2225,19 +2225,6 @@ int scroll_bmp(struct t_disp* pdisp) | |||
2225 | 2225 | ||
2226 | /********************* main function *************************/ | 2226 | /********************* main function *************************/ |
2227 | 2227 | ||
2228 | /* debug function */ | ||
2229 | int wait_for_button(void) | ||
2230 | { | ||
2231 | int button; | ||
2232 | |||
2233 | do | ||
2234 | { | ||
2235 | button = rb->button_get(true); | ||
2236 | } while ((button & BUTTON_REL) && button != SYS_USB_CONNECTED); | ||
2237 | |||
2238 | return button; | ||
2239 | } | ||
2240 | |||
2241 | /* callback updating a progress meter while JPEG decoding */ | 2228 | /* callback updating a progress meter while JPEG decoding */ |
2242 | void cb_progess(int current, int total) | 2229 | void cb_progess(int current, int total) |
2243 | { | 2230 | { |