diff options
author | Justin Heiner <jheiner@rockbox.org> | 2002-08-22 14:19:47 +0000 |
---|---|---|
committer | Justin Heiner <jheiner@rockbox.org> | 2002-08-22 14:19:47 +0000 |
commit | 1a8f34bfa9bf274b292e1c65532edd89f2589884 (patch) | |
tree | 2c5261f19a625a3f044fd44485c7dac700777202 /apps/wps.c | |
parent | ae3952ec90ba7d86ea046b0553cc5e4c1d626b65 (diff) | |
download | rockbox-1a8f34bfa9bf274b292e1c65532edd89f2589884.tar.gz rockbox-1a8f34bfa9bf274b292e1c65532edd89f2589884.zip |
Changed CUSTOM_WPS to be a define-only feature until it is more complete. To include it, simply uncomment the #define CUSTOM_WPS line in wps.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1924 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/wps.c')
-rw-r--r-- | apps/wps.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/wps.c b/apps/wps.c index 3198e75d20..6445b6bbf7 100644 --- a/apps/wps.c +++ b/apps/wps.c | |||
@@ -201,17 +201,20 @@ static void draw_screen(struct mp3entry* id3) | |||
201 | lcd_puts_scroll(0, 0, buffer); | 201 | lcd_puts_scroll(0, 0, buffer); |
202 | break; | 202 | break; |
203 | } | 203 | } |
204 | #ifdef CUSTOM_WPS | ||
204 | case PLAY_DISPLAY_CUSTOM_WPS: | 205 | case PLAY_DISPLAY_CUSTOM_WPS: |
205 | { | 206 | { |
206 | wps_load_custom_config(); | 207 | wps_load_custom_config(); |
207 | } | 208 | } |
208 | #endif | 209 | #endif |
210 | #endif | ||
209 | } | 211 | } |
210 | } | 212 | } |
211 | status_draw(); | 213 | status_draw(); |
212 | lcd_update(); | 214 | lcd_update(); |
213 | } | 215 | } |
214 | 216 | ||
217 | #ifdef CUSTOM_WPS | ||
215 | int wps_load_custom_config(void) | 218 | int wps_load_custom_config(void) |
216 | { | 219 | { |
217 | char buffer[128]; | 220 | char buffer[128]; |
@@ -339,7 +342,7 @@ int wps_load_custom_config(void) | |||
339 | snprintf(buffer, sizeof(buffer), "%s%s", buffer, tmpbuf); | 342 | snprintf(buffer, sizeof(buffer), "%s%s", buffer, tmpbuf); |
340 | } | 343 | } |
341 | } | 344 | } |
342 | 345 | #endif | |
343 | 346 | ||
344 | int player_id3_show(void) | 347 | int player_id3_show(void) |
345 | { | 348 | { |