diff options
Diffstat (limited to 'tmk_core/protocol/vusb/main.c')
-rw-r--r-- | tmk_core/protocol/vusb/main.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tmk_core/protocol/vusb/main.c b/tmk_core/protocol/vusb/main.c index 8e4a266e9..f6a0c7e9a 100644 --- a/tmk_core/protocol/vusb/main.c +++ b/tmk_core/protocol/vusb/main.c | |||
@@ -48,8 +48,12 @@ int main(void) | |||
48 | uint16_t last_timer = timer_read(); | 48 | uint16_t last_timer = timer_read(); |
49 | #endif | 49 | #endif |
50 | 50 | ||
51 | #ifdef CLKPR | ||
52 | // avoid unintentional changes of clock frequency in devices that have a | ||
53 | // clock prescaler | ||
51 | CLKPR = 0x80, CLKPR = 0; | 54 | CLKPR = 0x80, CLKPR = 0; |
52 | #ifndef PS2_USE_USART | 55 | #endif |
56 | #ifndef NO_UART | ||
53 | uart_init(UART_BAUD_RATE); | 57 | uart_init(UART_BAUD_RATE); |
54 | #endif | 58 | #endif |
55 | 59 | ||