1
0
Fork 0

Simplified and polished a bit the code changes on tmk_core

This commit is contained in:
Luiz Ribeiro 2017-01-21 17:09:17 -05:00
parent 461dfd4462
commit 9ce38cbccf
5 changed files with 8 additions and 7 deletions

View file

@ -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