F949G: will it work?

This commit is contained in:
Pascal Langer 2021-08-27 10:22:47 +02:00
parent 08404f9223
commit a7b68dc2aa
2 changed files with 4 additions and 2 deletions

View File

@ -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);

View File

@ -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