mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-09 22:28: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_MINOR 3
|
||||
#define VERSION_REVISION 0
|
||||
#define VERSION_PATCH_LEVEL 61
|
||||
#define VERSION_PATCH_LEVEL 62
|
||||
|
||||
//******************
|
||||
// Protocols
|
||||
|
@ -182,7 +182,8 @@ static uint8_t pelikan_add(uint8_t pfrq,uint8_t a, uint8_t limit)
|
||||
static void __attribute__((unused)) pelikan_init_hop()
|
||||
{
|
||||
#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 low = rx_tx_addr[1] & 0x0F;
|
||||
if(high==2)
|
||||
|
Loading…
x
Reference in New Issue
Block a user