@@ -186,7 +186,7 @@ uint32_t USBD_Send(uint32_t ep, const void* d, uint32_t len)
186
186
187
187
if (!_usbConfiguration)
188
188
{
189
- printf (" pb conf\n\r " );
189
+ TRACE_CORE ( printf (" pb conf\n\r " );)
190
190
return -1 ;
191
191
}
192
192
@@ -472,8 +472,8 @@ static void Test_Mode_Support( uint8_t wIndex )
472
472
// patterns, jitter, and any other dynamic waveform specifications.
473
473
// The test packet is made up by concatenating the following strings.
474
474
// (Note: For J/K NRZI data, and for NRZ data, the bit on the left is the first one
475
- // transmitted. S indicates that a bit stuff occurs, which inserts an extra NRZI data bit.
476
- // * N is used to indicate N occurrences of a string of bits or symbols.)
475
+ // transmitted. "S" indicates that a bit stuff occurs, which inserts an " extra" NRZI data bit.
476
+ // " * N" is used to indicate N occurrences of a string of bits or symbols.)
477
477
// A port in Test_Packet mode must send this packet repetitively. The inter-packet timing
478
478
// must be no less than the minimum allowable inter-packet gap as defined in Section 7.1.18 and
479
479
// no greater than 125 us.
@@ -508,7 +508,7 @@ static void Test_Mode_Support( uint8_t wIndex )
508
508
509
509
case 1 :
510
510
// Test mode Test_J:
511
- // Upon command, a port s transceiver must enter the high-speed J state and remain in that
511
+ // Upon command, a port' s transceiver must enter the high-speed J state and remain in that
512
512
// state until the exit action is taken. This enables the testing of the high output drive
513
513
// level on the D+ line.
514
514
// Send a ZLP
@@ -519,7 +519,7 @@ static void Test_Mode_Support( uint8_t wIndex )
519
519
520
520
case 2 :
521
521
// Test mode Test_K:
522
- // Upon command, a port s transceiver must enter the high-speed K state and remain in
522
+ // Upon command, a port' s transceiver must enter the high-speed K state and remain in
523
523
// that state until the exit action is taken. This enables the testing of the high output drive
524
524
// level on the D- line.
525
525
// Send a ZLP
@@ -530,7 +530,7 @@ static void Test_Mode_Support( uint8_t wIndex )
530
530
531
531
case 3 :
532
532
// Test mode Test_SE0_NAK:
533
- // Upon command, a port s transceiver must enter the high-speed receive mode
533
+ // Upon command, a port' s transceiver must enter the high-speed receive mode
534
534
// and remain in that mode until the exit action is taken. This enables the testing
535
535
// of output impedance, low level output voltage, and loading characteristics.
536
536
// In addition, while in this mode, upstream facing ports (and only upstream facing ports)
@@ -571,8 +571,6 @@ static void Test_Mode_Support( uint8_t wIndex )
571
571
// Endpoint 0 interrupt
572
572
static void USB_ISR (void )
573
573
{
574
- Reset.tick ();
575
-
576
574
// printf("ISR=0x%X\n\r", UOTGHS->UOTGHS_DEVISR); // jcb
577
575
// if( iii++ > 1500 ) while(1); // jcb
578
576
// End of bus reset
0 commit comments