diff --git a/Multiprotocol/MT99xx_nrf24l01.ino b/Multiprotocol/MT99xx_nrf24l01.ino index 847c2b0..63604ae 100644 --- a/Multiprotocol/MT99xx_nrf24l01.ino +++ b/Multiprotocol/MT99xx_nrf24l01.ino @@ -27,6 +27,8 @@ #define MT99XX_INITIAL_WAIT 500 #define MT99XX_PACKET_SIZE 9 +#define FORCE_A180_ID + enum{ // flags going to packet[6] (MT99xx, H7) FLAG_MT_RATE1 = 0x01, // (H7 & A180 high rate) @@ -313,7 +315,8 @@ uint16_t MT99XX_callback() uint16_t initMT99XX(void) { - BIND_IN_PROGRESS; // autobind protocol + if(sub_protocol != A180) + BIND_IN_PROGRESS; // autobind protocol bind_counter = MT99XX_BIND_COUNT; MT99XX_initialize_txid(); diff --git a/Multiprotocol/Multiprotocol.h b/Multiprotocol/Multiprotocol.h index 94dbda3..f2c30a2 100644 --- a/Multiprotocol/Multiprotocol.h +++ b/Multiprotocol/Multiprotocol.h @@ -19,7 +19,7 @@ #define VERSION_MAJOR 1 #define VERSION_MINOR 3 #define VERSION_REVISION 2 -#define VERSION_PATCH_LEVEL 20 +#define VERSION_PATCH_LEVEL 21 //****************** // Protocols