mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-03-15 21:09:10 +00:00
Update MouldKg_nrf24l01.ino
This commit is contained in:
parent
835facd2c3
commit
a9be2a8644
@ -53,8 +53,8 @@ static void __attribute__((unused)) MOULDKG_send_packet()
|
||||
if(sub_protocol == MOULDKG_ANALOG)
|
||||
{
|
||||
packet[0] = 0x36;
|
||||
uint8_t ch[]={ 1,0,2,3 };
|
||||
for(uint8_t i=0;i<4;i++)
|
||||
uint8_t ch[]={ 1,0,2,3,4,5 };
|
||||
for(uint8_t i=0;i<6;i++)
|
||||
packet[i+4] = convert_channel_8b(ch[i]+n);
|
||||
len = MOULDKG_PAYLOAD_SIZE_ANALOG;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user