Skip to content

Commit 6484170

Browse files
authored
Merge pull request #533 from a664571463/feat/320x240
Add a 320x240 resolution configuration file
2 parents ccf92d0 + 94c100d commit 6484170

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
return {
2+
margin = 5,
3+
indent = 15,
4+
lineSpacing = 20,
5+
listSpacing = { line = 20, field = 170 },
6+
tableSpacing = { row = 25, col = 60, header = 20 },
7+
}

src/SCRIPTS/BF/radios.lua

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,33 @@ local supportedRadios =
151151
},
152152
cms = nil,
153153
},
154+
["320x240"] = {
155+
msp = {
156+
template = "TEMPLATES/320x240.lua",
157+
highRes = true,
158+
MenuBox = {
159+
x = 80,
160+
y = 80,
161+
w = 160,
162+
x_offset = 54,
163+
h_line = 20,
164+
h_offset = 10
165+
},
166+
SaveBox = {
167+
x = 80,
168+
y = 80,
169+
w = 144,
170+
x_offset = 10,
171+
h = 60,
172+
h_offset = 12
173+
},
174+
NoTelem = {128, LCD_H - 28, "No Telemetry", (TEXT_COLOR or 0) + INVERS + BLINK},
175+
textSize = 0,
176+
yMinLimit = 30,
177+
yMaxLimit = 200
178+
},
179+
cms = nil,
180+
},
154181
}
155182

156183
local resolution = LCD_W.."x"..LCD_H

0 commit comments

Comments
 (0)