mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 15:27:53 +00:00
bflsc ensure buffer is bigger than max reply
This commit is contained in:
parent
ac135bf3af
commit
2517a8a49e
@ -30,7 +30,14 @@
|
|||||||
#define BLANK ""
|
#define BLANK ""
|
||||||
#define LFSTR "<LF>"
|
#define LFSTR "<LF>"
|
||||||
|
|
||||||
#define BFLSC_BUFSIZ (0x200)
|
/*
|
||||||
|
* 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
|
||||||
|
* OK = 3
|
||||||
|
* Total: 3452
|
||||||
|
*/
|
||||||
|
#define BFLSC_BUFSIZ (0x1000)
|
||||||
|
|
||||||
#define BFLSC_DI_FIRMWARE "FIRMWARE"
|
#define BFLSC_DI_FIRMWARE "FIRMWARE"
|
||||||
#define BFLSC_DI_ENGINES "ENGINES"
|
#define BFLSC_DI_ENGINES "ENGINES"
|
||||||
|
Loading…
Reference in New Issue
Block a user