mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-10-29 10:01:04 +00:00
Merge 897a8ef89a36352d1f8002fcf63cdd6c71396f78 into bf38415420519b616c2a4beb849af74519e661fa
This commit is contained in:
commit
e5664b0f22
@ -599,6 +599,7 @@ void DSM_init()
|
|||||||
uint16_t temp = DSM_CLONE_EEPROM_OFFSET;
|
uint16_t temp = DSM_CLONE_EEPROM_OFFSET;
|
||||||
for(uint8_t i=0;i<4;i++)
|
for(uint8_t i=0;i<4;i++)
|
||||||
cyrfmfg_id[i] = eeprom_read_byte((EE_ADDR)temp++);
|
cyrfmfg_id[i] = eeprom_read_byte((EE_ADDR)temp++);
|
||||||
|
cyrfmfg_id[3]^=RX_num; //Model match
|
||||||
#if DEBUG_BIND
|
#if DEBUG_BIND
|
||||||
debugln("Using cloned ID");
|
debugln("Using cloned ID");
|
||||||
debug("Clone ID=")
|
debug("Clone ID=")
|
||||||
@ -619,8 +620,7 @@ void DSM_init()
|
|||||||
{
|
{
|
||||||
//SUB_PROTO_VALID;
|
//SUB_PROTO_VALID;
|
||||||
CYRF_GetMfgData(cyrfmfg_id);
|
CYRF_GetMfgData(cyrfmfg_id);
|
||||||
//Model match
|
cyrfmfg_id[3]^=RX_num; //Model match
|
||||||
cyrfmfg_id[3]^=RX_num;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -19,7 +19,7 @@
|
|||||||
#define VERSION_MAJOR 1
|
#define VERSION_MAJOR 1
|
||||||
#define VERSION_MINOR 3
|
#define VERSION_MINOR 3
|
||||||
#define VERSION_REVISION 4
|
#define VERSION_REVISION 4
|
||||||
#define VERSION_PATCH_LEVEL 52
|
#define VERSION_PATCH_LEVEL 53
|
||||||
|
|
||||||
#define MODE_SERIAL 0
|
#define MODE_SERIAL 0
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user