mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-07-03 12:07:52 +00:00
NRF_CE
This commit is contained in:
parent
0acde4294e
commit
892b677194
@ -224,9 +224,13 @@ struct PPM_Parameters
|
|||||||
#ifdef XMEGA
|
#ifdef XMEGA
|
||||||
#define NRF_CSN_on
|
#define NRF_CSN_on
|
||||||
#define NRF_CSN_off
|
#define NRF_CSN_off
|
||||||
|
#define NRF_CE_on
|
||||||
|
#define NRF_CE_off
|
||||||
#else
|
#else
|
||||||
#define NRF_CSN_on PORTB |= _BV(0) //D8
|
#define NRF_CSN_on PORTB |= _BV(0) //D8
|
||||||
#define NRF_CSN_off PORTB &= ~_BV(0) //D8
|
#define NRF_CSN_off PORTB &= ~_BV(0) //D8
|
||||||
|
#define NRF_CE_on
|
||||||
|
#define NRF_CE_off
|
||||||
#endif
|
#endif
|
||||||
//
|
//
|
||||||
#ifdef XMEGA
|
#ifdef XMEGA
|
||||||
|
Loading…
x
Reference in New Issue
Block a user