test PA18

This commit is contained in:
Pascal Langer 2022-01-23 19:08:46 +01:00
parent 8b05e55ebd
commit 0fd2e36046
2 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,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
//#define FORCE_PA18_ID #define FORCE_PA18_ID
enum { enum {
MT99XX_DATA, MT99XX_DATA,
@ -178,7 +178,7 @@ static void __attribute__((unused)) MT99XX_send_packet()
packet[5] = 0x20; // roll trim (0x00-0x20-0x3f) packet[5] = 0x20; // roll trim (0x00-0x20-0x3f)
packet[6] = GET_FLAG( CH5_SW, FLAG_MT_FLIP ); packet[6] = GET_FLAG( CH5_SW, FLAG_MT_FLIP );
if(sub_protocol != PA18+8) if(sub_protocol != PA18+8)
packet[7] = h7_mys_byte[hopping_frequency_no]; // next rf channel index ? packet[7] = h7_mys_byte[hopping_frequency_no]; // next rf channel index ?
else else
packet[7] = (packet[7]&0xBF)|0x20; packet[7] = (packet[7]&0xBF)|0x20;
switch(sub_protocol) switch(sub_protocol)

View File

@ -19,7 +19,7 @@
#define VERSION_MAJOR 1 #define VERSION_MAJOR 1
#define VERSION_MINOR 3 #define VERSION_MINOR 3
#define VERSION_REVISION 3 #define VERSION_REVISION 3
#define VERSION_PATCH_LEVEL 8 #define VERSION_PATCH_LEVEL 9
#define MODE_SERIAL 0 #define MODE_SERIAL 0