mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-04 22:08:12 +00:00
Update RadioLink_cc2500.ino
This commit is contained in:
parent
72da3c5bc5
commit
babfee0f9e
@ -268,7 +268,7 @@ static void __attribute__((unused)) RLINK_RC4G_send_packet()
|
|||||||
//address
|
//address
|
||||||
memcpy(&packet[1], &rx_tx_addr[1], 3);
|
memcpy(&packet[1], &rx_tx_addr[1], 3);
|
||||||
//channels
|
//channels
|
||||||
for(uint i=0;i<2;i++)
|
for(uint8_t i=0;i<2;i++)
|
||||||
{
|
{
|
||||||
val = Channel_data[2*i ] +400 -24;
|
val = Channel_data[2*i ] +400 -24;
|
||||||
packet[4+i*2] = val;
|
packet[4+i*2] = val;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user