Index: apps/gui/gwps.c =================================================================== RCS file: /cvsroot/rockbox/apps/gui/gwps.c,v retrieving revision 1.33 diff -u -r1.33 gwps.c --- apps/gui/gwps.c 21 Mar 2006 11:31:52 -0000 1.33 +++ apps/gui/gwps.c 23 Mar 2006 20:29:39 -0000 @@ -131,8 +131,19 @@ restore = true; } + + int gpio_f = 0; + while ( 1 ) { + +#if CONFIG_CPU == PP5020 + if (!wps_state.paused) + { + gpio_f = GPIOF_INPUT_VAL; + if (gpio_f < 30) audio_pause(); /* HACK: FIX ME! */ + } +#endif bool audio_paused = (audio_status() & AUDIO_STATUS_PAUSE)?true:false; /* did someone else (i.e power thread) change audio pause mode? */