From 0bf65dc0b6fd09b475ba7a98fae7d8ed5e6767a8 Mon Sep 17 00:00:00 2001 From: Christina Quast Date: Fri, 8 May 2015 16:07:16 +0200 Subject: [PATCH] usb.c: Removed FIXME comment MITM does not support two interface settings. The comment mixed up interface configurations and alternative interface settings. --- firmware/src_simtrace/usb.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/firmware/src_simtrace/usb.c b/firmware/src_simtrace/usb.c index cd39917a..ce509552 100644 --- a/firmware/src_simtrace/usb.c +++ b/firmware/src_simtrace/usb.c @@ -616,8 +616,6 @@ void USBDDriverCallbacks_ConfigurationChanged(uint8_t cfgnum) static void _ConfigureUsbClock(void) { /* Enable PLLB for USB */ -// FIXME: are these the dividers I actually need? -// FIXME: I could just use PLLA, since it has a frequ of 48Mhz anyways? PMC->CKGR_PLLBR = CKGR_PLLBR_DIVB(5) | CKGR_PLLBR_MULB(0xc) /* MULT+1=0xd*/ | CKGR_PLLBR_PLLBCOUNT_Msk; @@ -639,11 +637,8 @@ void SIMtrace_USB_Initialize( void ) // Initialize standard USB driver USBDDriver_Initialize(pUsbd, &driverDescriptors, -// FIXME: 2 interface settings supported in MITM mode 0); // Multiple interface settings not supported - USBD_Init(); - USBD_Connect(); NVIC_EnableIRQ( UDP_IRQn );