Skip to content

Commit ef14511

Browse files
committed
Relax WritePage timeout
1 parent bb7352a commit ef14511

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Samba.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ Samba::writeBuffer(uint32_t src_addr, uint32_t dst_addr, uint32_t size)
662662
int l = snprintf((char*) cmd, sizeof(cmd), "Y%08X,0#", src_addr);
663663
if (_port->write(cmd, l) != l)
664664
throw SambaError();
665-
_port->timeout(TIMEOUT_QUICK);
665+
_port->timeout(TIMEOUT_NORMAL);
666666
cmd[0] = 0;
667667
_port->read(cmd, 3); // Expects "Y\n\r"
668668
_port->timeout(TIMEOUT_NORMAL);

0 commit comments

Comments
 (0)