# HG changeset patch # User Ethan Zonca # Date 2014-09-25 21:56:47 # Node ID 7b13b1c2f3a111341f88f81094d4f182a74b1dc1 # Parent 0ee0ed9a3b7d11caf81ce305befc07aba7f84ff7 Relocated USB init. Need to test with ext xtal diff --git a/main.c b/main.c --- a/main.c +++ b/main.c @@ -80,11 +80,6 @@ int main(void) // Init GPIO init_gpio(); - // Init USB - //Set_USBClock(); - //USB_Interrupts_Config(); - //USB_Init(); - // Turn on power LED GPIO_SetBits(LED_POWER); @@ -108,12 +103,15 @@ int main(void) delay(2000); } + // Init USB +// Set_USBClock(); +// USB_Interrupts_Config(); +// USB_Init(); + // Startup screen ssd1306_DrawString("therm v0.1", 1, 40); ssd1306_DrawString("protofusion.org/therm", 3, 0); - - delay(1500); ssd1306_clearscreen();