JOYSWAY: fix?

This commit is contained in:
Pascal Langer 2021-03-05 19:57:33 +01:00
parent 600049898a
commit c0285f81f0
2 changed files with 5 additions and 2 deletions

View File

@ -100,11 +100,14 @@ void JOYSWAY_init()
{ {
BIND_DONE; // not a bind protocol BIND_DONE; // not a bind protocol
MProtocol_id &= 0x00FFFFFF;
MProtocol_id |= 0xF8000000;
#ifdef JOYSWAY_FORCE_ID #ifdef JOYSWAY_FORCE_ID
MProtocol_id = 0xf82dcaa0; MProtocol_id = 0xf82dcaa0;
set_rx_tx_addr(MProtocol_id);
#endif #endif
set_rx_tx_addr(MProtocol_id);
A7105_Init(); A7105_Init();
packet_count = 2; packet_count = 2;

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 56 #define VERSION_PATCH_LEVEL 57
#define MODE_SERIAL 0 #define MODE_SERIAL 0