summaryrefslogtreecommitdiff
path: root/apps/wps.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/wps.c')
-rw-r--r--apps/wps.c5
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
215int wps_load_custom_config(void) 218int 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
344int player_id3_show(void) 347int player_id3_show(void)
345{ 348{