1
0
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:
James Cotton 2012-09-20 15:28:47 -05:00
parent 8bd4a8c6fd
commit 64d8f64ea7

View File

@ -126,7 +126,7 @@ $(SWITCHCODE)
if msgBytesLeft > 255 if msgBytesLeft > 255
msgBytesLeft = 0; msgBytesLeft = 0;
end end
bufferIdx=bufferIdx+msgBytesLeft; bufferIdx=bufferIdx+double(msgBytesLeft);
end end
catch catch
% One of the reads failed - indicates EOF % One of the reads failed - indicates EOF