mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-10 00:08:13 +00:00
missed the last 3 bytes here, loop should continue one more time (#322)
This commit is contained in:
parent
e4fd1f4399
commit
4a01e2d472
@ -168,7 +168,7 @@ uint16_t FrSkyR9_callback()
|
|||||||
static uint8_t chan_start=0;
|
static uint8_t chan_start=0;
|
||||||
uint8_t chan_index = chan_start;
|
uint8_t chan_index = chan_start;
|
||||||
|
|
||||||
for(int i = 0; i < 8; i += 3)
|
for(int i = 0; i < 12; i += 3)
|
||||||
{
|
{
|
||||||
// map channel values (0-2047) to (64-1984)
|
// map channel values (0-2047) to (64-1984)
|
||||||
uint16_t ch1 = FrSkyX_scaleForPXX(chan_index);
|
uint16_t ch1 = FrSkyX_scaleForPXX(chan_index);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user