summaryrefslogtreecommitdiff
path: root/apps/plugins/snow.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/snow.c')
-rw-r--r--apps/plugins/snow.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/plugins/snow.c b/apps/plugins/snow.c
index 80429326bf..bde8be883c 100644
--- a/apps/plugins/snow.c
+++ b/apps/plugins/snow.c
@@ -47,6 +47,9 @@ PLUGIN_HEADER
47#define SNOW_QUIT BUTTON_A 47#define SNOW_QUIT BUTTON_A
48#else 48#else
49#define SNOW_QUIT BUTTON_OFF 49#define SNOW_QUIT BUTTON_OFF
50#if (CONFIG_KEYPAD == IRIVER_H100_PAD) || (CONFIG_KEYPAD == IRIVER_H300_PAD)
51#define SNOW_RC_QUIT BUTTON_RC_STOP
52#endif
50#endif 53#endif
51 54
52static short particles[NUM_PARTICLES][2]; 55static short particles[NUM_PARTICLES][2];
@@ -189,7 +192,11 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
189 192
190 button = rb->button_get(false); 193 button = rb->button_get(false);
191 194
192 if (button == SNOW_QUIT) 195 if (button == SNOW_QUIT
196#ifdef SNOW_RC_QUIT
197 || button == SNOW_RC_QUIT
198#endif
199 )
193 { 200 {
194#ifdef HAVE_LCD_CHARCELLS 201#ifdef HAVE_LCD_CHARCELLS
195 pgfx_release(); 202 pgfx_release();