Make the two keyboard halves communicate with each other via I2C.

This commit is contained in:
László Monda
2016-03-11 15:39:08 +01:00
parent 7b30750ef5
commit 51de538b4a
16 changed files with 180 additions and 24 deletions

View File

@@ -96,7 +96,7 @@ void USB0_IRQHandler()
USB_DeviceKhciIsrFunction(UsbCompositeDevice.deviceHandle);
}
void USB_DeviceApplicationInit()
void InitUsb()
{
uint8_t usbDeviceKhciIrq[] = USB_IRQS;
uint8_t irqNumber = usbDeviceKhciIrq[CONTROLLER_ID - kUSB_ControllerKhci0];