Merge 897a8ef89a36352d1f8002fcf63cdd6c71396f78 into bf38415420519b616c2a4beb849af74519e661fa

This commit is contained in:
MRC3742 2025-10-11 04:33:41 +00:00 committed by GitHub
commit e5664b0f22
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -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;
} }
} }

View File

@ -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