syntax cleaning

This commit is contained in:
iceman1001 2017-10-17 22:05:52 +02:00
commit dc7473135c
2 changed files with 3 additions and 10 deletions

View file

@ -1134,9 +1134,6 @@ void __attribute__((noreturn)) AppMain(void) {
LEDsoff();
// Init USB device
usb_enable();
// The FPGA gets its clock from us from PCK0 output, so set that up.
AT91C_BASE_PIOA->PIO_BSR = GPIO_PCK0;
AT91C_BASE_PIOA->PIO_PDR = GPIO_PCK0;
@ -1155,6 +1152,9 @@ void __attribute__((noreturn)) AppMain(void) {
FpgaDownloadAndGo(FPGA_BITSTREAM_HF);
StartTickCount();
// Init USB device
usb_enable();
#ifdef WITH_LCD
LCDInit();