Browse Source

correct bflsc BFLSC_BUFSIZ max calculation

Kano 12 years ago
parent
commit
a16f51fb2e
1 changed files with 4 additions and 3 deletions
  1. 4 3
      driver-bflsc.c

+ 4 - 3
driver-bflsc.c

@@ -32,10 +32,11 @@
 
 
 /*
 /*
  * With Firmware 1.0.0 and a result queue of 20 the Max is:
  * With Firmware 1.0.0 and a result queue of 20 the Max is:
- * header = 9
- * 64+1+32+1+1+(1+8)*8+1 per line = 172 * 20
+ * inprocess = 12
+ * max count = 9
+ * 64+1+24+1+1+(1+8)*8+1 per line = 164 * 20
  * OK = 3
  * OK = 3
- * Total: 3452
+ * Total: 3304
  */
  */
 #define BFLSC_BUFSIZ (0x1000)
 #define BFLSC_BUFSIZ (0x1000)