D16: fix channel order
@@ -146,10 +146,10 @@ static void frsky_d16_set_rc_data() {
failsafe = 0;
// AETR channel order
- rx[0] = (channels[1] - 960) * 1.f / 760.f;
- rx[1] = (channels[2] - 960) * 1.f / 760.f;
+ rx[0] = (channels[0] - 960) * 1.f / 760.f;
+ rx[1] = (channels[1] - 960) * 1.f / 760.f;
rx[2] = (channels[3] - 960) * 1.f / 760.f;
- rx[3] = constrainf((channels[0] - 200) * 1.f / 1520.f, 0.f, 1.f);
+ rx[3] = constrainf((channels[2] - 200) * 1.f / 1520.f, 0.f, 1.f);
rx_apply_expo();
