mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-12-13 19:13:14 +00:00
E010r5: 1 more ID
This commit is contained in:
@@ -97,7 +97,7 @@ void E010R5_init()
|
||||
RF2500_SetTXAddr((uint8_t*)"\x0E\x54\x96\xEE"); // Same address for bind and normal packets
|
||||
|
||||
#ifdef E010R5_FORCE_ID
|
||||
switch(rx_tx_addr[3]%3)
|
||||
switch(rx_tx_addr[3]&0x03)
|
||||
{
|
||||
case 0:
|
||||
//TX1
|
||||
@@ -113,6 +113,13 @@ void E010R5_init()
|
||||
rx_tx_addr[1]=0x1B;
|
||||
rx_tx_addr[2]=0x9E;
|
||||
break;
|
||||
case 2:
|
||||
//TX4
|
||||
hopping_frequency[0]=0x30; //48
|
||||
hopping_frequency[1]=0x38; //56
|
||||
rx_tx_addr[1]=0x2E;
|
||||
rx_tx_addr[2]=0xAE;
|
||||
break;
|
||||
default:
|
||||
//TX3
|
||||
hopping_frequency[0]=0x30; //48
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#define VERSION_MAJOR 1
|
||||
#define VERSION_MINOR 3
|
||||
#define VERSION_REVISION 2
|
||||
#define VERSION_PATCH_LEVEL 42
|
||||
#define VERSION_PATCH_LEVEL 43
|
||||
|
||||
//******************
|
||||
// Protocols
|
||||
|
||||
Reference in New Issue
Block a user