mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
Matlab parser: small fix from Kenz
This commit is contained in:
parent
8bd4a8c6fd
commit
64d8f64ea7
@ -126,7 +126,7 @@ $(SWITCHCODE)
|
||||
if msgBytesLeft > 255
|
||||
msgBytesLeft = 0;
|
||||
end
|
||||
bufferIdx=bufferIdx+msgBytesLeft;
|
||||
bufferIdx=bufferIdx+double(msgBytesLeft);
|
||||
end
|
||||
catch
|
||||
% One of the reads failed - indicates EOF
|
||||
|
Loading…
Reference in New Issue
Block a user