Bugfix
This commit is contained in:
@@ -553,9 +553,9 @@ static uint8_t get_child_pipe_mask(const uint8_t idx)
|
|||||||
_BV(ERX_P0), _BV(ERX_P1), _BV(ERX_P2), _BV(ERX_P3), _BV(ERX_P4), _BV(ERX_P5)
|
_BV(ERX_P0), _BV(ERX_P1), _BV(ERX_P2), _BV(ERX_P3), _BV(ERX_P4), _BV(ERX_P5)
|
||||||
};
|
};
|
||||||
#ifdef ESP8266
|
#ifdef ESP8266
|
||||||
return child_pipe_enable[0];
|
return child_pipe_enable[idx];
|
||||||
#else
|
#else
|
||||||
return pgm_read_byte(&child_pipe_enable[0]);
|
return pgm_read_byte(&child_pipe_enable[idx]);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user