Nrf5 improvements (#938)
* Fix NRF5_ESB_readMessage, allways enable radio
* NRF5: fixes and improvements
- Compiles with arduino core for nRF52 (primo)
MY_RADIO_NRF5_ESB stays unsupported with primo!
- Split ACK negation flag into
MY_NRF5_ESB_REVERSE_ACK_TX
MY_NRF5_ESB_REVERSE_ACK_RX
- MY_RADIO_NRF5_ESB changes to act more than NRF24
- MY_RADIO_NRF5_ESB better support for powerdown/standby
- Moved initialization from MyMainNRF5 to hwInit()
This commit is contained in:
@@ -23,14 +23,10 @@
|
||||
#ifndef __NRF_RADIO_H__
|
||||
#define __NRF_RADIO_H__
|
||||
|
||||
#if !defined(ARDUINO)
|
||||
#if !defined(ARDUINO_ARCH_NRF5)
|
||||
#error "NRF5 Radio is not supported for this platform."
|
||||
#endif
|
||||
|
||||
#if defined(NRF5_SOFTDEVICE)
|
||||
#warning "NRF5 SoftDevice cannot be used with NRF5 Radio."
|
||||
#endif
|
||||
|
||||
#include <nrf.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
|
||||
Reference in New Issue
Block a user