X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=tmk_core%2Fprotocol%2Fvusb%2Fmain.c;h=f6a0c7e9a4d2a1edfd91a15fc08817c282266084;hb=0ce45eb0b7ad0af28de4418906543c51dbc505cc;hp=8e4a266e9b60d63c423b0a336401e78fd33f93dd;hpb=d311fd8d1a0af3b767d26b520d399bf0db22f058;p=qmk_firmware.git 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) uint16_t last_timer = timer_read(); #endif +#ifdef CLKPR + // avoid unintentional changes of clock frequency in devices that have a + // clock prescaler CLKPR = 0x80, CLKPR = 0; -#ifndef PS2_USE_USART +#endif +#ifndef NO_UART uart_init(UART_BAUD_RATE); #endif