RadioLink: fix

This commit is contained in:
Pascal Langer 2020-08-01 10:19:30 +02:00
parent 37138f03ae
commit e35879a5d0
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -123,9 +123,9 @@ static void __attribute__((unused)) RLINK_init()
{
// channels order depend on ID and currently unknown so using a table of 64 entries...
uint8_t id=rx_tx_addr[3]&0x3F;
RLINK_load_hopp(id);
memcpy(rx_tx_addr,"\x4C\x49\x4E\x4B",RLINK_TX_ID_LEN);
rx_tx_addr[0] += id;
RLINK_load_hopp(id);
#ifdef RLINK_FORCE_ID
//surface RC6GS