Browse Source

Putting prescalar settings back in for AVR.

- Needs to be at 16 MHz for proper function
simple
Jacob Alexander 9 years ago
parent
commit
66624c311c
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      main.c

+ 6
- 0
main.c View File



int main() 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 // Enable CLI
CLI_init(); CLI_init();