RX protocols: abort RX bind as requested

This commit is contained in:
Pascal Langer
2020-08-04 10:42:35 +02:00
parent fdd357619b
commit 660282db2e
4 changed files with 8 additions and 1 deletions

View File

@@ -383,6 +383,8 @@ uint16_t FrSky_Rx_callback()
static int8_t tune_low, tune_high;
uint8_t len, ch;
if(IS_BIND_DONE && phase != FRSKY_RX_DATA) return initFrSky_Rx(); // Abort bind
if ((prev_option != option) && (phase >= FRSKY_RX_DATA))
{
if (option == 0)