mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-04 23:48:13 +00:00
Hide Proto Scanner
This commit is contained in:
parent
53c0637a85
commit
c1c5f9fe3a
@ -298,7 +298,7 @@ const mm_protocol_definition multi_protocols[] = {
|
|||||||
{PROTO_REDPINE, STR_REDPINE, 2, STR_SUBTYPE_REDPINE, OPTION_RFTUNE },
|
{PROTO_REDPINE, STR_REDPINE, 2, STR_SUBTYPE_REDPINE, OPTION_RFTUNE },
|
||||||
#endif
|
#endif
|
||||||
#if defined(SCANNER_CC2500_INO)
|
#if defined(SCANNER_CC2500_INO)
|
||||||
{PROTO_SCANNER, STR_SCANNER, 0, NO_SUBTYPE, OPTION_NONE },
|
// {PROTO_SCANNER, STR_SCANNER, 0, NO_SUBTYPE, OPTION_NONE },
|
||||||
#endif
|
#endif
|
||||||
#if defined(SFHSS_CC2500_INO)
|
#if defined(SFHSS_CC2500_INO)
|
||||||
{PROTO_SFHSS, STR_SFHSS, 0, NO_SUBTYPE, OPTION_RFTUNE },
|
{PROTO_SFHSS, STR_SFHSS, 0, NO_SUBTYPE, OPTION_RFTUNE },
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#define VERSION_MAJOR 1
|
#define VERSION_MAJOR 1
|
||||||
#define VERSION_MINOR 3
|
#define VERSION_MINOR 3
|
||||||
#define VERSION_REVISION 0
|
#define VERSION_REVISION 0
|
||||||
#define VERSION_PATCH_LEVEL 90
|
#define VERSION_PATCH_LEVEL 91
|
||||||
|
|
||||||
//******************
|
//******************
|
||||||
// Protocols
|
// Protocols
|
||||||
|
@ -141,7 +141,10 @@ static void multi_send_status()
|
|||||||
flags |= 0x04;
|
flags |= 0x04;
|
||||||
#ifdef MULTI_NAMES
|
#ifdef MULTI_NAMES
|
||||||
if(multi_protocols_index == 0xFF)
|
if(multi_protocols_index == 0xFF)
|
||||||
flags &= ~0x04; //Invalid protocol
|
{
|
||||||
|
if(protocol!=PROTO_SCANNER)
|
||||||
|
flags &= ~0x04; //Invalid protocol
|
||||||
|
}
|
||||||
else if(sub_protocol&0x07)
|
else if(sub_protocol&0x07)
|
||||||
{
|
{
|
||||||
uint8_t nbr=multi_protocols[multi_protocols_index].nbrSubProto;
|
uint8_t nbr=multi_protocols[multi_protocols_index].nbrSubProto;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user