typo error

This commit is contained in:
midelic 2016-08-01 01:38:00 +03:00 committed by GitHub
parent c94f9e01e2
commit 991a6c53e2

View File

@ -166,7 +166,7 @@ void frsky_user_frame()
case 2:
idxt = prev_index - idxt;
prev_index=0;
if(index<(MAX_PKTX-USER_MAX_BYTES)) //10-6=4
if(idxt<(MAX_PKTX-USER_MAX_BYTES)) //10-6=4
for(i=0;i<idxt;i++)
frame[i+3]=pktx[USER_MAX_BYTES+i];
pass=0;