TinerStudio: no need to have 3s timeout, 300mS is ok for single-back devices. fix #4360
This commit is contained in:
parent
9a362f88ee
commit
95b9ee3191
|
@ -17,3 +17,5 @@
|
|||
#define show_test_presets false
|
||||
#define show_Frankenso_presets false
|
||||
#define show_Proteus_presets false
|
||||
|
||||
#define TS_BLOCK_READ_TIMEOUT 300
|
||||
|
|
|
@ -1947,6 +1947,10 @@ end_struct
|
|||
#define TS_RESPONSE_OUT_OF_RANGE 0x84
|
||||
#define TS_RESPONSE_FRAMING_ERROR 0x8D
|
||||
|
||||
! we need 3 seconds on single-bank to survive write-to-flash reconnect
|
||||
! dual-bank devices can go with 300 for better TS reconnect experience
|
||||
#define TS_BLOCK_READ_TIMEOUT 3000
|
||||
|
||||
#define MLQ_HEADER_SIZE 22
|
||||
#define MLQ_FIELD_HEADER_SIZE 55
|
||||
|
||||
|
|
|
@ -74,7 +74,7 @@ enable2ndByteCanID = false
|
|||
;e.g. put writeblocks off and add an interwrite delay
|
||||
writeBlocks = on
|
||||
interWriteDelay = 10
|
||||
blockReadTimeout = 3000; Milliseconds general timeout
|
||||
blockReadTimeout = @@TS_BLOCK_READ_TIMEOUT@@; Milliseconds general timeout
|
||||
|
||||
; delayAfterPortOpen = 500
|
||||
|
||||
|
|
Loading…
Reference in New Issue