V2x2: fix?

This commit is contained in:
Pascal Langer 2020-07-09 22:49:48 +02:00
parent 5c59cddc7a
commit 64419a6cf4
2 changed files with 4 additions and 1 deletions

View File

@ -19,7 +19,7 @@
#define VERSION_MAJOR 1
#define VERSION_MINOR 3
#define VERSION_REVISION 1
#define VERSION_PATCH_LEVEL 37
#define VERSION_PATCH_LEVEL 38
//******************
// Protocols

View File

@ -118,10 +118,13 @@ static void __attribute__((unused)) V2X2_set_tx_id(void)
hopping_frequency[i] = (val & 0x0f) ? val : val - 3;
}
#ifdef V2X2_MR101_FORCE_ID
if(sub_protocol==V2X2_MR101)
{
rx_tx_addr[1]=0x83;
rx_tx_addr[2]=0x03;
rx_tx_addr[3]=0xAE;
memcpy(hopping_frequency,"\x05\x12\x08\x0C\x04\x0E\x10",7);
}
#endif
}