Fix E01X BV statements

This commit is contained in:
Pascal Langer 2019-03-03 20:42:26 +01:00
parent aa85d4d797
commit af4185fbea
2 changed files with 2 additions and 2 deletions

View File

@ -218,7 +218,7 @@ static void __attribute__((unused)) E01X_send_packet(uint8_t bind)
// Power on, TX mode, CRC enabled
if(sub_protocol==E016H)
XN297_Configure(BV(NRF24L01_00_EN_CRC) | BV(NRF24L01_00_CRCO) | BV(NRF24L01_00_PWR_UP));
XN297_Configure( _BV(NRF24L01_00_EN_CRC) | _BV(NRF24L01_00_CRCO) | _BV(NRF24L01_00_PWR_UP));
else //E012 & E015
HS6200_Configure(_BV(NRF24L01_00_EN_CRC) | _BV(NRF24L01_00_CRCO) | _BV(NRF24L01_00_PWR_UP));
NRF24L01_WriteReg(NRF24L01_05_RF_CH, rf_ch_num);

View File

@ -19,7 +19,7 @@
#define VERSION_MAJOR 1
#define VERSION_MINOR 2
#define VERSION_REVISION 1
#define VERSION_PATCH_LEVEL 27
#define VERSION_PATCH_LEVEL 28
//******************
// Protocols