properly order MODEs and add CAD
This commit is contained in:
parent
0c394d30a7
commit
c01099eb16
1 changed files with 2 additions and 1 deletions
|
@ -38,12 +38,13 @@
|
||||||
#define REG_VERSION 0x42
|
#define REG_VERSION 0x42
|
||||||
|
|
||||||
// modes
|
// modes
|
||||||
#define MODE_LONG_RANGE_MODE 0x80
|
|
||||||
#define MODE_SLEEP 0x00
|
#define MODE_SLEEP 0x00
|
||||||
#define MODE_STANDBY 0x01
|
#define MODE_STANDBY 0x01
|
||||||
#define MODE_TX 0x03
|
#define MODE_TX 0x03
|
||||||
#define MODE_RX_CONTINUOUS 0x05
|
#define MODE_RX_CONTINUOUS 0x05
|
||||||
#define MODE_RX_SINGLE 0x06
|
#define MODE_RX_SINGLE 0x06
|
||||||
|
#define MODE_CAD_DETECT 0x07
|
||||||
|
#define MODE_LONG_RANGE_MODE 0x80
|
||||||
|
|
||||||
// PA config
|
// PA config
|
||||||
#define PA_BOOST 0x80
|
#define PA_BOOST 0x80
|
||||||
|
|
Loading…
Reference in a new issue