mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-11 00:18:12 +00:00
Protocol Pelikan: hop freq change with RX_num
This commit is contained in:
parent
c6e5d00a2b
commit
e18d8868d2
@ -19,7 +19,7 @@
|
|||||||
#define VERSION_MAJOR 1
|
#define VERSION_MAJOR 1
|
||||||
#define VERSION_MINOR 3
|
#define VERSION_MINOR 3
|
||||||
#define VERSION_REVISION 0
|
#define VERSION_REVISION 0
|
||||||
#define VERSION_PATCH_LEVEL 61
|
#define VERSION_PATCH_LEVEL 62
|
||||||
|
|
||||||
//******************
|
//******************
|
||||||
// Protocols
|
// Protocols
|
||||||
|
@ -183,6 +183,7 @@ static void __attribute__((unused)) pelikan_init_hop()
|
|||||||
{
|
{
|
||||||
#define PELIKAN_HOP_LIMIT 70
|
#define PELIKAN_HOP_LIMIT 70
|
||||||
rx_tx_addr[0] = 0;
|
rx_tx_addr[0] = 0;
|
||||||
|
rx_tx_addr[1]+= RX_num;
|
||||||
uint8_t high = (rx_tx_addr[1]>>4) % 3; // 0..2
|
uint8_t high = (rx_tx_addr[1]>>4) % 3; // 0..2
|
||||||
uint8_t low = rx_tx_addr[1] & 0x0F;
|
uint8_t low = rx_tx_addr[1] & 0x0F;
|
||||||
if(high==2)
|
if(high==2)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user