summaryrefslogtreecommitdiffstats
path: root/tmk_core/common/avr/suspend.c
diff options
context:
space:
mode:
authorLuiz Ribeiro <luizribeiro@gmail.com>2017-01-21 17:09:17 -0500
committerLuiz Ribeiro <luizribeiro@gmail.com>2017-01-21 17:18:05 -0500
commit9ce38cbccf073fccea6f7ee6492bf472a48852b8 (patch)
treec98d5fd54bd84b1c72338a72b06490270d8b50ac /tmk_core/common/avr/suspend.c
parent461dfd44621ef31cabc08136d4714ca24ed651fa (diff)
Simplified and polished a bit the code changes on tmk_core
Diffstat (limited to 'tmk_core/common/avr/suspend.c')
-rw-r--r--tmk_core/common/avr/suspend.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tmk_core/common/avr/suspend.c b/tmk_core/common/avr/suspend.c
index 0e97892d9d..0c81e83612 100644
--- a/tmk_core/common/avr/suspend.c
+++ b/tmk_core/common/avr/suspend.c
@@ -65,7 +65,6 @@ static uint8_t wdt_timeout = 0;
static void power_down(uint8_t wdto)
{
-#ifndef __AVR_ATmega32A__
#ifdef PROTOCOL_LUFA
if (USB_DeviceState == DEVICE_STATE_Configured) return;
#endif
@@ -100,7 +99,6 @@ static void power_down(uint8_t wdto)
// Disable watchdog after sleep
wdt_disable();
-#endif
}
#endif