Skip to content

Commit

Permalink
fix: Model Locator - remove LQ & VFR as do not work (#86)
Browse files Browse the repository at this point in the history
* new Rotary Gauge widget

* Rotary Gauge widget: less ticks on small size

* new Rotary Gauge widget

* new Rotary Gauge widget

* Model Locator: remove LQ & VFR (they do not work)

Co-authored-by: Shmuely <[email protected]>
Co-authored-by: oshmuely <AbCd321654>
  • Loading branch information
offer-shmuely and offer-shmuely-cognyte authored Oct 19, 2022
1 parent e336da1 commit f27e501
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions sdcard/c480x272/SCRIPTS/TOOLS/Model Locator (by RSSI).lua
Original file line number Diff line number Diff line change
Expand Up @@ -119,25 +119,25 @@ local function getSignalValues()
return v, -115, 20
end

-- try UNI-ACSST firmware VFR
local fieldinfo = getFieldInfo("VFR")
if fieldinfo then
local v = getValue("VFR")
log("RSSI: " .. v)
lcd.drawText(3, 30, "Signal: VFR", 0)
return v, 0, 100
end

-- try elrs RQLY
local fieldinfo = getFieldInfo("RQLY")
if fieldinfo then
local v = getValue("RQLY")
log("RQLY: " .. v)
lcd.drawText(3, 30, "Signal: RQLY", 0)
return v, 0, 100
end
---- try UNI-ACSST firmware VFR
--local fieldinfo = getFieldInfo("VFR")
--if fieldinfo then
-- local v = getValue("VFR")
-- log("RSSI: " .. v)
-- lcd.drawText(3, 30, "Signal: VFR", 0)
-- return v, 0, 100
--end
--
---- try elrs RQLY
--local fieldinfo = getFieldInfo("RQLY")
--if fieldinfo then
-- local v = getValue("RQLY")
-- log("RQLY: " .. v)
-- lcd.drawText(3, 30, "Signal: RQLY", 0)
-- return v, 0, 100
--end

lcd.drawText(30, 3, "Signal: not found in RSSI/1RSS/2RSS/VFR", 0)
lcd.drawText(30, 3, "Signal: not found in RSSI/1RSS/2RSS", 0)
return nil, 0, 0
end

Expand Down

0 comments on commit f27e501

Please sign in to comment.