Remove keyboard scanning from USB interrupt. Fix initial blink of LEDs when initializing. Coding style fixes.

This commit is contained in:
Robert Csordas
2016-11-13 15:50:49 +01:00
parent f2d3963b14
commit fc434c7857
8 changed files with 99 additions and 62 deletions

View File

@@ -6,10 +6,12 @@
void main() {
InitPeripherials();
InitClock();
LedDriver_EnableAllLeds();
LedDriver_InitAllLeds(0);
usbKeyboadTask();
InitUsb();
while (1){
usbKeyboadTask();
asm("wfi");
}
}