mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-03-14 12:19:11 +00:00
MT99XX: no autobind, 1 ID
This commit is contained in:
parent
580b996215
commit
9769354989
@ -27,6 +27,8 @@
|
|||||||
#define MT99XX_INITIAL_WAIT 500
|
#define MT99XX_INITIAL_WAIT 500
|
||||||
#define MT99XX_PACKET_SIZE 9
|
#define MT99XX_PACKET_SIZE 9
|
||||||
|
|
||||||
|
#define FORCE_A180_ID
|
||||||
|
|
||||||
enum{
|
enum{
|
||||||
// flags going to packet[6] (MT99xx, H7)
|
// flags going to packet[6] (MT99xx, H7)
|
||||||
FLAG_MT_RATE1 = 0x01, // (H7 & A180 high rate)
|
FLAG_MT_RATE1 = 0x01, // (H7 & A180 high rate)
|
||||||
@ -313,7 +315,8 @@ uint16_t MT99XX_callback()
|
|||||||
|
|
||||||
uint16_t initMT99XX(void)
|
uint16_t initMT99XX(void)
|
||||||
{
|
{
|
||||||
BIND_IN_PROGRESS; // autobind protocol
|
if(sub_protocol != A180)
|
||||||
|
BIND_IN_PROGRESS; // autobind protocol
|
||||||
bind_counter = MT99XX_BIND_COUNT;
|
bind_counter = MT99XX_BIND_COUNT;
|
||||||
|
|
||||||
MT99XX_initialize_txid();
|
MT99XX_initialize_txid();
|
||||||
|
@ -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 20
|
#define VERSION_PATCH_LEVEL 21
|
||||||
|
|
||||||
//******************
|
//******************
|
||||||
// Protocols
|
// Protocols
|
||||||
|
Loading…
x
Reference in New Issue
Block a user