Skip to content

Commit 2afdb5d

Browse files
Discard duplicated replies once the first reply has been received
1 parent d845925 commit 2afdb5d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/SCRIPTS/BF/MSP/common.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ function mspPollReply()
129129
while true do
130130
ret = protocol.mspPoll()
131131
if type(ret) == "table" then
132+
mspLastReq = 0
132133
return mspRxReq, ret
133134
else
134135
break

0 commit comments

Comments
 (0)