Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified screenshots/tool_bind.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/tool_bind_bw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/SCRIPTS/TOOLS/ExpressLRS/ui/lcd.lua
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ function UI.getBackExitLabel()
if Navigation.isAtRoot() then
return "-- EXIT (" .. VERSION .. ") --"
else
return "----BACK----"
return "---- BACK ----"
end
end

Expand Down
6 changes: 4 additions & 2 deletions src/SCRIPTS/TOOLS/ExpressLRSBind/ui/lcd.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ local ROW_CLEAR = 8
local ROW_BACK = 9
local HIST_BASE = 100

local EXIT_LABEL = "[-- EXIT (" .. VERSION .. ") --]"

local PAGE_MAIN = 1
local PAGE_HISTORY = 2

Expand Down Expand Up @@ -257,7 +259,7 @@ end

local function drawTitle()
lcd.drawFilledRectangle(0, 0, LCD_W, UI.textSize + 1, GREY_DEFAULT)
lcd.drawText(UI.COL1 + 1, 1, "ELRS Bind " .. VERSION, INVERS)
lcd.drawText(UI.COL1 + 1, 1, "ExpressLRS Bind Tool", INVERS)
-- Link flag: C while RX telemetry is alive, - otherwise
lcd.drawText(LCD_W - 1, 1, crsf.hasTelemetry and "C" or "-", INVERS + RIGHT)
end
Expand All @@ -282,7 +284,7 @@ local function drawRow(id, yPos, isSelected)
elseif id == ROW_HISTORY then
lcd.drawText(UI.COL1, yPos, "> History", attr + BOLD)
elseif id == ROW_EXIT then
lcd.drawText(10, yPos, "[---- EXIT ----]", attr + BOLD)
lcd.drawText(10, yPos, EXIT_LABEL, attr + BOLD)
elseif id == ROW_CLEAR then
lcd.drawText(10, yPos, "[Clear All]", attr + BOLD)
elseif id == ROW_BACK then
Expand Down
2 changes: 1 addition & 1 deletion src/SCRIPTS/TOOLS/ExpressLRSBind/ui/lvgl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ local function buildUi()
lvgl.clear()

local pg = lvgl.page({
title = "ExpressLRS Bind Phrase",
title = "ExpressLRS Bind Tool",
subtitle = App.uidLine,
back = exitTool,
})
Expand Down