diff --git a/main.c b/main.c index 339db86..4ef62d5 100644 --- a/main.c +++ b/main.c @@ -52,16 +52,14 @@ void start_signal() { int main(void) { IntMasterDisable(); - start_signal(); - - start_sampler(); - // Enable the Floating Point Unit, and permit ISRs to use it FPUEnable(); FPULazyStackingEnable(); // Initialize the system clock to 120 MHz gSystemClock = SysCtlClockFreqSet(SYSCTL_XTAL_25MHZ | SYSCTL_OSC_MAIN | SYSCTL_USE_PLL | SYSCTL_CFG_VCO_480, 120000000); + start_signal(); + start_sampler(); Crystalfontz128x128_Init(); // Initialize the LCD display driver Crystalfontz128x128_SetOrientation(LCD_ORIENTATION_UP); // set screen orientation