feat(cpn): add support for surface radios inc Radiomaster MT12 (#5381)
This commit is contained in:
@@ -37,11 +37,16 @@
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
|
||||
const uint8_t modn12x3[4][4]= {
|
||||
{1, 2, 3, 4},
|
||||
{1, 3, 2, 4},
|
||||
{4, 2, 3, 1},
|
||||
{4, 3, 2, 1} };
|
||||
const uint8_t modn12x3[8][4]= {
|
||||
{1, 2, 3, 4}, // air mode 1
|
||||
{1, 3, 2, 4}, // air mode 2
|
||||
{4, 2, 3, 1}, // air mode 3
|
||||
{4, 3, 2, 1}, // air mode 4
|
||||
{2, 3, 4, 1}, // surface mode 1
|
||||
{2, 3, 4, 1}, // surface mode 2
|
||||
{2, 3, 4, 1}, // surface mode 3
|
||||
{2, 3, 4, 1} // surface mode 4
|
||||
};
|
||||
|
||||
enum Capability {
|
||||
Models,
|
||||
@@ -129,9 +134,6 @@ enum Capability {
|
||||
PermTimers,
|
||||
HasSDLogs,
|
||||
CSFunc,
|
||||
LcdWidth,
|
||||
LcdHeight,
|
||||
LcdDepth,
|
||||
GetThrSwitch,
|
||||
HasDisplayText,
|
||||
HasTopLcd,
|
||||
|
||||
Reference in New Issue
Block a user