File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ local pageStatus =
16
16
local uiMsp =
17
17
{
18
18
reboot = 68 ,
19
- eepromWrite = 250
19
+ eepromWrite = 250 ,
20
+ accCal = 205 ,
20
21
}
21
22
22
23
local uiState = uiStatus .init
@@ -72,6 +73,10 @@ local function eepromWrite()
72
73
protocol .mspRead (uiMsp .eepromWrite )
73
74
end
74
75
76
+ local function accCal ()
77
+ protocol .mspRead (uiMsp .accCal )
78
+ end
79
+
75
80
local function getVtxTables ()
76
81
uiState = uiStatus .init
77
82
PageFiles = nil
@@ -85,6 +90,7 @@ local function createPopupMenu()
85
90
{ t = " save page" , f = saveSettings },
86
91
{ t = " reload" , f = invalidatePages },
87
92
{ t = " reboot" , f = rebootFc },
93
+ { t = " acc cal" , f = accCal },
88
94
}
89
95
if apiVersion >= 1.042 then
90
96
popupMenuList [# popupMenuList + 1 ] = { t = " vtx tables" , f = getVtxTables }
You can’t perform that action at this time.
0 commit comments