Fix some compilation issues

This commit is contained in:
Pascal Langer
2018-11-07 15:52:39 +01:00
parent 3f0d6cfcf1
commit c658a892f2
3 changed files with 4 additions and 4 deletions

View File

@@ -154,7 +154,7 @@ static void __attribute__((unused)) E01X_send_packet(uint8_t bind)
}
// Power on, TX mode, CRC enabled
HS6200_Configure(BV(NRF24L01_00_EN_CRC) | BV(NRF24L01_00_CRCO) | BV(NRF24L01_00_PWR_UP));
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);
NRF24L01_WriteReg(NRF24L01_07_STATUS, 0x70);