mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-07-01 18:27:53 +00:00
F949G: will it work?
This commit is contained in:
parent
08404f9223
commit
a7b68dc2aa
@ -288,8 +288,10 @@ static void __attribute__((unused)) MT99XX_send_packet()
|
||||
|
||||
static void __attribute__((unused)) MT99XX_RF_init()
|
||||
{
|
||||
if(sub_protocol == YZ || sub_protocol == F949G)
|
||||
if(sub_protocol == YZ)
|
||||
XN297_Configure(XN297_CRCEN, XN297_UNSCRAMBLED, XN297_250K);
|
||||
else if(sub_protocol == F949G)
|
||||
XN297_Configure(XN297_CRCEN, XN297_SCRAMBLED, XN297_250K);
|
||||
else
|
||||
XN297_Configure(XN297_CRCEN, XN297_SCRAMBLED, XN297_1M);
|
||||
XN297_SetTXAddr((uint8_t *)"\xCC\xCC\xCC\xCC\xCC", 5);
|
||||
|
@ -19,7 +19,7 @@
|
||||
#define VERSION_MAJOR 1
|
||||
#define VERSION_MINOR 3
|
||||
#define VERSION_REVISION 2
|
||||
#define VERSION_PATCH_LEVEL 93
|
||||
#define VERSION_PATCH_LEVEL 94
|
||||
|
||||
#define MODE_SERIAL 0
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user