mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-04 23:48:13 +00:00
Fix channel count
This commit is contained in:
parent
1f13a6c281
commit
cc6a35ac8a
@ -72,7 +72,7 @@ static void __attribute__((unused)) Bayang_Rx_build_telemetry_packet()
|
|||||||
packet_in[idx++] = 8; // number of channels in packet
|
packet_in[idx++] = 8; // number of channels in packet
|
||||||
|
|
||||||
// convert & pack channels
|
// convert & pack channels
|
||||||
for (uint8_t i = 0; i < 14; i++) {
|
for (uint8_t i = 0; i < packet_in[3]; i++) {
|
||||||
uint32_t val = 0;
|
uint32_t val = 0;
|
||||||
if (i < 4) {
|
if (i < 4) {
|
||||||
// AETR
|
// AETR
|
||||||
|
Loading…
x
Reference in New Issue
Block a user