mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-12-13 19:13:14 +00:00
Update MT99xx_ccnrf.ino
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
|
||||
//#define FORCE_A180_ID
|
||||
//#define FORCE_DRAGON_ID
|
||||
#define FORCE_F949G_ID
|
||||
//#define FORCE_F949G_ID
|
||||
|
||||
enum {
|
||||
MT99XX_DATA,
|
||||
@@ -287,7 +287,7 @@ static void __attribute__((unused)) MT99XX_send_packet()
|
||||
|
||||
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);
|
||||
else
|
||||
XN297_Configure(XN297_CRCEN, XN297_SCRAMBLED, XN297_1M);
|
||||
|
||||
Reference in New Issue
Block a user