Skip to content
Snippets Groups Projects
Commit 371d677f authored by cnlohr's avatar cnlohr
Browse files

Hide the cursed junk behind other stuff.

parent 6466e3c5
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,10 @@ static inline void fastcopy( uint8_t * dest, const uint8_t * src, int len )
DMA_PeripheralInc_Enable |
DMA_Mode_Normal | DMA_CFGR1_EN;
//XXX TODO: Somehow, it seems to work (unsafely) without this.
//while( DMA1_Channel7->CNTR );
#if !( FUSB_CURSED_TURBO_DMA == 1 )
while( DMA1_Channel7->CNTR );
#endif
}
#endif
......
......@@ -8,6 +8,8 @@
#define FUSB_HID_INTERFACES 2
#define FUSB_CURSED_TURBO_DMA 1
//Taken from http://www.usbmadesimple.co.uk/ums_ms_desc_dev.htm
static const uint8_t device_descriptor[] = {
18, //Length
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment