Skip to content

Commit

Permalink
Update Multi_Protos.ino (#1021)
Browse files Browse the repository at this point in the history
add sub protocol "J20" to "SGF22" protocol
  • Loading branch information
rdba2k authored Sep 26, 2024
1 parent 1b79d7f commit 58b19a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Multiprotocol/Multi_Protos.ino
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ const char STR_SUBTYPE_MOULDKG[] = "\x06""Analog""Digit\0";
const char STR_SUBTYPE_KF606[] = "\x06""KF606\0""MIG320""ZCZ50\0";
const char STR_SUBTYPE_E129[] = "\x04""E129""C186";
const char STR_SUBTYPE_FX[] = "\x04""816\0""620\0""9630""Q560";
const char STR_SUBTYPE_SGF22[] = "\x04""F22\0""F22S";
const char STR_SUBTYPE_SGF22[] = "\x04""F22\0""F22S""J20\0";
#define NO_SUBTYPE nullptr

#ifdef SEND_CPPM
Expand Down Expand Up @@ -455,7 +455,7 @@ const mm_protocol_definition multi_protocols[] = {
{PROTO_SCORPIO, STR_SCORPIO, NO_SUBTYPE, 0, OPTION_NONE, 0, 0, SW_CYRF, SCORPIO_init, SCORPIO_callback },
#endif
#if defined(SGF22_NRF24L01_INO)
{PROTO_SGF22, STR_SGF22, STR_SUBTYPE_SGF22, 2, OPTION_NONE, 0, 0, SW_NRF, SGF22_init, SGF22_callback },
{PROTO_SGF22, STR_SGF22, STR_SUBTYPE_SGF22, 3, OPTION_NONE, 0, 0, SW_NRF, SGF22_init, SGF22_callback },
#endif
#if defined(SHENQI_NRF24L01_INO)
{PROTO_SHENQI, STR_SHENQI, NO_SUBTYPE, 0, OPTION_NONE, 0, 0, SW_NRF, SHENQI_init, SHENQI_callback },
Expand Down Expand Up @@ -590,4 +590,4 @@ uint16_t PROTOLIST_callback()
}
return 1000;
}
#endif
#endif

0 comments on commit 58b19a2

Please sign in to comment.