summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/wps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/wps.c b/apps/wps.c
index 922deb2..6302626 100644
--- a/apps/wps.c
+++ b/apps/wps.c
@@ -376,7 +376,7 @@ long wps_show(void)
about to shut down. lets save the settings. */
if (paused) {
settings_save();
-#ifndef HAVE_RTC
+#if !defined(HAVE_RTC) && !defined(HAVE_SW_POWEROFF)
ata_flush();
#endif
}