Skip to content

Commit

Permalink
Don't pause Lua loading when in edit mode. Why? (#1809)
Browse files Browse the repository at this point in the history
  • Loading branch information
CapnBry committed Sep 3, 2022
1 parent 659aec6 commit 5aa9c8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lua/elrsV3.lua
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ local function refreshNext()
crossfireTelemetryPush(0x2D, { deviceId, handsetId, 0x0, 0x0 }) --request linkstat
end
linkstatTimeout = time + 100
elseif time > fieldTimeout and fields_count ~= 0 and not edit then
elseif time > fieldTimeout and fields_count ~= 0 then
if #loadQ > 0 then
crossfireTelemetryPush(0x2C, { deviceId, handsetId, loadQ[#loadQ], fieldChunk })
fieldTimeout = time + 50 -- 0.5s
Expand Down

0 comments on commit 5aa9c8e

Please sign in to comment.