diff options
Diffstat (limited to 'tmk_core/common/avr/suspend.c')
| -rw-r--r-- | tmk_core/common/avr/suspend.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tmk_core/common/avr/suspend.c b/tmk_core/common/avr/suspend.c index 0e97892d9..0c81e8361 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; | |||
| 65 | 65 | ||
| 66 | static void power_down(uint8_t wdto) | 66 | static void power_down(uint8_t wdto) |
| 67 | { | 67 | { |
| 68 | #ifndef __AVR_ATmega32A__ | ||
| 69 | #ifdef PROTOCOL_LUFA | 68 | #ifdef PROTOCOL_LUFA |
| 70 | if (USB_DeviceState == DEVICE_STATE_Configured) return; | 69 | if (USB_DeviceState == DEVICE_STATE_Configured) return; |
| 71 | #endif | 70 | #endif |
| @@ -100,7 +99,6 @@ static void power_down(uint8_t wdto) | |||
| 100 | 99 | ||
| 101 | // Disable watchdog after sleep | 100 | // Disable watchdog after sleep |
| 102 | wdt_disable(); | 101 | wdt_disable(); |
| 103 | #endif | ||
| 104 | } | 102 | } |
| 105 | #endif | 103 | #endif |
| 106 | 104 | ||
