Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c0eb63a

Browse files
Merge pull request #525 from Forceu/batteryfix
Battery page: Fix battery capacity steps, changed max capacity to 20000
2 parents 528dbff + 49ea1ae commit c0eb63a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/SCRIPTS/BF/PAGES/battery.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ fields[#fields + 1] = { t = "Maximum Cell", x = x + indent, y = inc.y(li
1717
fields[#fields + 1] = { t = "Warning Cell", x = x + indent, y = inc.y(lineSpacing), sp = x + sp, min = 0, max = 500, vals = { 12, 13 }, scale = 100 }
1818

1919
labels[#labels + 1] = { t = "Capacity Settings", x = x, y = inc.y(lineSpacing) }
20-
fields[#fields + 1] = { t = "Battery Capacity", x = x + indent, y = inc.y(lineSpacing), sp = x + sp, min = 0, steps = 25, max = 10000, vals = { 4, 5 } }
20+
fields[#fields + 1] = { t = "Battery Capacity", x = x + indent, y = inc.y(lineSpacing), sp = x + sp, min = 0, mult = 25, max = 20000, vals = { 4, 5 } }
2121

2222
return {
2323
read = 32, -- MSP_BATTERY_CONFIG

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /