We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 76b4beb + b5a99f0 commit d7af958Copy full SHA for d7af958
src/SCRIPTS/BF/CMS/common.lua
@@ -74,7 +74,6 @@ cms = {
74
init = function(cmsConfig)
75
screen.config = assert(cmsConfig, "Resolution not supported")
76
screen.reset()
77
- screen.clear()
78
protocol.cms.close()
79
cms.menuOpen = false
80
cms.synced = false
src/SCRIPTS/BF/cms.lua
@@ -1,5 +1,6 @@
1
local lastMenuEventTime = 0
2
local INTERVAL = 80
3
+local firstRun = true
4
5
local function init()
6
cms.init(radio)
@@ -11,6 +12,10 @@ local function stickMovement()
11
12
end
13
14
local function run(event)
15
+ if firstRun then
16
+ screen.clear()
17
+ firstRun = false
18
+ end
19
if stickMovement() then
20
21
lastMenuEventTime = getTime()
0 commit comments