LPC_PINCON->PINSEL1 &= 0xc3ffffff;\r
LPC_PINCON->PINSEL1 |= 0x14000000;\r
\r
+ // Configure pin P2.9 to be Connect\r
+ LPC_PINCON->PINSEL4 &= 0xfffcffff;\r
+ LPC_PINCON->PINSEL4 |= 0x00040000;\r
+\r
// Disconnect USB device\r
SIEdisconnect();\r
\r
// work around OSX behaviour where if the device disconnects and quickly reconnects, it assumes it's the same device instead of checking\r
wait_ms(1000);\r
\r
- // Configure pin P2.9 to be Connect\r
- LPC_PINCON->PINSEL4 &= 0xfffcffff;\r
- LPC_PINCON->PINSEL4 |= 0x00040000;\r
-\r
// Connect must be low for at least 2.5uS\r
// wait(0.3);\r
\r