X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=main.c;h=3b48941dfca0ed1e647378b51b8998fa1138362c;hb=0013d7a4f31d35ad054369037e20b683085c6116;hp=d174c471c7438461114317b20c703fa5274b8f98;hpb=ba984fff20f890df1bf39b849c4d9276ff62f601;p=kiibohd-controller.git diff --git a/main.c b/main.c index d174c47..3b48941 100644 --- a/main.c +++ b/main.c @@ -39,6 +39,12 @@ int main() { + // AVR - Teensy Set Clock speed to 16 MHz +#if defined(_at90usb162_) || defined(_atmega32u4_) || defined(_at90usb646_) || defined(_at90usb1286_) + CLKPR = 0x80; + CLKPR = 0x00; +#endif + // Enable CLI CLI_init();