Merge pull request #540 from keyboardio/hardware/kbd4x/disable-clock-division

hardware::KBD4x: Disable clock division
pull/549/head
Jesse Vincent 6 years ago committed by GitHub
commit 5fe12de4dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -54,6 +54,10 @@ class KBD4x: public kaleidoscope::hardware::ATMegaKeyboard {
*/
MCUCR |= (1 << JTD);
MCUCR |= (1 << JTD);
// Disable Clock division
CLKPR = (1 << CLKPCE);
CLKPR = (0 << CLKPS3) | (0 << CLKPS2) | (0 << CLKPS1) | (0 << CLKPS0);
}
ATMEGA_KEYBOARD_CONFIG(

Loading…
Cancel
Save