Browse Source

cores/usb: Fix microcode for BCI OUT

Inverted test led to lost/corrupted data ...

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Sylvain Munaut 5 years ago
parent
commit
8dce3431d4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cores/usb/utils/microcode.py

+ 1 - 1
cores/usb/utils/microcode.py

@@ -294,7 +294,7 @@ mc = [
 
 		# Check we have space, if not prevent data writes
 		LD('bd_state'),
-		JEQ('_DO_OUT_BCI_DROP_DATA', BD_RDY_DATA),
+		JNE('_DO_OUT_BCI_DROP_DATA', BD_RDY_DATA),
 
 		# Wait for packet
 		EVT_RTO(TIMEOUT),