1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-26 09:45:21 +03:00

Add the ARR change to multi in the same way as for DSM2 in commit 404c5a8

This commit is contained in:
Arne Schwabe 2016-06-08 22:23:45 +02:00
parent 540faa51bf
commit 5bcde76ca0

View file

@ -61,7 +61,7 @@ static void _send_level(uint8_t v)
else
v -= 2;
*modulePulsesData[EXTERNAL_MODULE].dsm2.ptr++ = v;
*modulePulsesData[EXTERNAL_MODULE].dsm2.ptr++ = v - 1;
modulePulsesData[EXTERNAL_MODULE].dsm2.index+=1;
modulePulsesData[EXTERNAL_MODULE].dsm2.rest -=v;
}