FrSkyX: fix the need to rebind RXs

This commit is contained in:
Pascal Langer 2021-03-30 15:13:00 +02:00
parent f95cfa1261
commit aa7c18a2bd
2 changed files with 3 additions and 6 deletions

View File

@ -244,7 +244,6 @@ void FRSKYX_init()
Frsky_init_clone(); Frsky_init_clone();
else else
{ {
rx_tx_addr[1]=0x02; // ID related, hw version?
if(protocol==PROTO_FRSKYX) if(protocol==PROTO_FRSKYX)
Frsky_init_hop(); Frsky_init_hop();
else else
@ -256,6 +255,7 @@ void FRSKYX_init()
#endif #endif
FrSkyX2_init_hop(); FrSkyX2_init_hop();
} }
rx_tx_addr[1]=0x02; // ID related, hw version?
} }
if(protocol==PROTO_FRSKYX && (FrSkyFormat & 2 )) if(protocol==PROTO_FRSKYX && (FrSkyFormat & 2 ))
@ -275,10 +275,7 @@ void FRSKYX_init()
FrSkyX_initialize_data(1); FrSkyX_initialize_data(1);
} }
else else
{ state = FRSKY_BIND_DONE;
state = FRSKY_DATA1;
FrSkyX_initialize_data(0);
}
FrSkyX_telem_init(); FrSkyX_telem_init();
} }
#endif #endif

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 2 #define VERSION_REVISION 2
#define VERSION_PATCH_LEVEL 66 #define VERSION_PATCH_LEVEL 67
#define MODE_SERIAL 0 #define MODE_SERIAL 0