Skip to content

Commit 9b14264

Browse files
authored
Remove unused variables and functions (#283)
Remove unused variables and functions
2 parents be4fc28 + 5a2087c commit 9b14264

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/SCRIPTS/BF/ui.lua

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ local saveTS = 0
2323
local saveTimeout = 0
2424
local saveRetries = 0
2525
local saveMaxRetries = 0
26-
local pageRequested = false
27-
local telemetryScreenActive = false
2826
local popupMenuActive = false
2927
local lastRunTS = 0
3028
local killEnterBreak = 0
@@ -115,7 +113,6 @@ local function processMspReply(cmd,rx_buf)
115113
else
116114
invalidatePages()
117115
end
118-
pageRequested = false
119116
return
120117
end
121118
if cmd == uiMsp.eepromWrite then
@@ -220,7 +217,6 @@ local function drawScreen()
220217
local f = Page.fields[i]
221218
local pos = Page.fieldLayout[i]
222219
local text_options = radio.textSize + globalTextOptions
223-
local heading_options = text_options
224220
local value_options = text_options
225221
if i == currentLine then
226222
value_options = text_options + INVERS
@@ -252,10 +248,6 @@ function clipValue(val,min,max)
252248
return val
253249
end
254250

255-
local function getCurrentField()
256-
return Page.fields[currentLine]
257-
end
258-
259251
local function incValue(inc)
260252
local f = Page.fields[currentLine]
261253
local idx = f.i or currentLine

0 commit comments

Comments
 (0)