Use 128rfa1 interrupts instead of timing.
Generalize DEBUGFLOW macro for use in multiple routines.
This commit is contained in:
parent
b55dddcd38
commit
577215deca
4 changed files with 158 additions and 117 deletions
|
@ -69,7 +69,11 @@
|
|||
/* RF230 does not support RX_START interrupts in extended mode, but it seems harmless to always enable it. */
|
||||
/* In non-extended mode this allows RX_START to sample the RF rssi at the end of the preamble */
|
||||
//#define RF230_SUPPORTED_INTERRUPT_MASK ( 0x0C ) //disable RX_START
|
||||
#if defined(__AVR_ATmega128RFA1__)
|
||||
#define RF230_SUPPORTED_INTERRUPT_MASK ( 0xFF )
|
||||
#else
|
||||
#define RF230_SUPPORTED_INTERRUPT_MASK ( 0x0F )
|
||||
#endif
|
||||
|
||||
#define RF230_MIN_CHANNEL ( 11 )
|
||||
#define RF230_MAX_CHANNEL ( 26 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue