mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-04 16:48:10 +00:00
JOYSWAY: fix?
This commit is contained in:
parent
600049898a
commit
c0285f81f0
@ -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;
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user