em4x50: only retry a read if it can still end in time
Next attempt must fit in 2.5 s, judged by the longest attempt so far. Client waits 5 s for info/dump. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
de3c55fcd7
commit
62f9fa8414
4 files changed
+17
-6
No files matched your search
@@ -55,6 +55,7 @@
|
||||
|
||||
// misc
|
||||
#define EM4X50_TIMEOUT_CMD 3000
|
||||
#define EM4X50_TIMEOUT_INFO 5000 // 34 words, with read retries
|
||||
#define EM4X50_DUMP_FILESIZE 136
|
||||
|
||||
typedef struct {
|
||||
|
||||
Reference in new issue
Block a user