core: Fix sleep_led
[tmk_keyboard.git] / tmk_core / common / avr / suspend.c
index 150588ced70642095d8884da6f3c160727fd36ad..02d7e4c9426eea2921a4322d3959fe8952c7154d 100644 (file)
@@ -96,7 +96,11 @@ void suspend_idle(uint8_t time)
 
 void suspend_power_down(void)
 {
-#ifdef SUSPEND_MODE_STANDBY
+#ifdef NO_SUSPEND_POWER_DOWN
+    ;
+#elif defined(SUSPEND_MODE_NOPOWERSAVE)
+    ;
+#elif defined(SUSPEND_MODE_STANDBY)
     standby();
 #elif defined(SUSPEND_MODE_IDLE)
     idle();
Imprint / Impressum