mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-04 20:48:12 +00:00
Update MT99xx_ccnrf.ino
This commit is contained in:
parent
7b71425db2
commit
149554e61c
@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
//#define FORCE_A180_ID
|
//#define FORCE_A180_ID
|
||||||
//#define FORCE_DRAGON_ID
|
//#define FORCE_DRAGON_ID
|
||||||
#define FORCE_F949G_ID
|
//#define FORCE_F949G_ID
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
MT99XX_DATA,
|
MT99XX_DATA,
|
||||||
@ -287,7 +287,7 @@ static void __attribute__((unused)) MT99XX_send_packet()
|
|||||||
|
|
||||||
static void __attribute__((unused)) MT99XX_RF_init()
|
static void __attribute__((unused)) MT99XX_RF_init()
|
||||||
{
|
{
|
||||||
if(sub_protocol == YZ)
|
if(sub_protocol == YZ || sub_protocol == F949G)
|
||||||
XN297_Configure(XN297_CRCEN, XN297_UNSCRAMBLED, XN297_250K);
|
XN297_Configure(XN297_CRCEN, XN297_UNSCRAMBLED, XN297_250K);
|
||||||
else
|
else
|
||||||
XN297_Configure(XN297_CRCEN, XN297_SCRAMBLED, XN297_1M);
|
XN297_Configure(XN297_CRCEN, XN297_SCRAMBLED, XN297_1M);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user