diff options
Diffstat (limited to 'apps/gui')
-rw-r--r-- | apps/gui/gwps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/gwps.c b/apps/gui/gwps.c index 6e0551745a..05c33a0568 100644 --- a/apps/gui/gwps.c +++ b/apps/gui/gwps.c | |||
@@ -135,7 +135,7 @@ long gui_wps_show(void) | |||
135 | about to shut down. lets save the settings. */ | 135 | about to shut down. lets save the settings. */ |
136 | if (wps_state.paused) { | 136 | if (wps_state.paused) { |
137 | settings_save(); | 137 | settings_save(); |
138 | #if !defined(HAVE_RTC) && !defined(HAVE_SW_POWEROFF) | 138 | #if !defined(HAVE_RTC_RAM) && !defined(HAVE_SW_POWEROFF) |
139 | ata_flush(); | 139 | ata_flush(); |
140 | #endif | 140 | #endif |
141 | } | 141 | } |
@@ -293,7 +293,7 @@ long gui_wps_show(void) | |||
293 | else | 293 | else |
294 | audio_pause(); | 294 | audio_pause(); |
295 | settings_save(); | 295 | settings_save(); |
296 | #if !defined(HAVE_RTC) && !defined(HAVE_SW_POWEROFF) | 296 | #if !defined(HAVE_RTC_RAM) && !defined(HAVE_SW_POWEROFF) |
297 | ata_flush(); /* make sure resume info is saved */ | 297 | ata_flush(); /* make sure resume info is saved */ |
298 | #endif | 298 | #endif |
299 | } | 299 | } |