Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused files and folders #401

Merged
merged 2 commits into from
Nov 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file.
4 changes: 2 additions & 2 deletions src/SCRIPTS/BF/PAGES/vtx.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ local fields = {}

local vtx_tables
if apiVersion >= 1.042 then
vtx_tables = assert(loadScript("/BF/VTX/"..mcuId..".lua"))()
vtx_tables = assert(loadScript("VTX_TABLES/"..mcuId..".lua"))()
else
vtx_tables = assert(loadScript("/BF/VTX/vtx_defaults.lua"))()
vtx_tables = assert(loadScript("VTX_TABLES/vtx_defaults.lua"))()
end
local deviceTable = { [1]="6705", [3]="SA", [4]="Tramp", [255]="None" }
local pitModeTable = { [0]="OFF", "ON" }
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/SCRIPTS/BF/ui_init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ local function init()
mcuIdReceived = getMCUId.f()
if mcuIdReceived then
getMCUId = nil
local f = loadScript("/BF/VTX/"..mcuId..".lua")
local f = loadScript("VTX_TABLES/"..mcuId..".lua")
if f and f() then
vtxTablesReceived = true
f = nil
Expand Down
4 changes: 2 additions & 2 deletions src/SCRIPTS/BF/vtx_tables.lua
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ local function getVtxTables()
end
end
if vtxTablesReceived then
local f = io.open("/BF/VTX/"..mcuId..".lua", 'w')
local f = io.open("VTX_TABLES/"..mcuId..".lua", 'w')
io.write(f, "return {", "\n")
io.write(f, " frequencyTable = {", "\n")
for i = 1, #frequencyTable do
Expand All @@ -109,7 +109,7 @@ local function getVtxTables()
io.write(f, powerString, "\n")
io.write(f, "}", "\n")
io.close(f)
assert(loadScript("/BF/VTX/"..mcuId..".lua", 'c'))
assert(loadScript("VTX_TABLES/"..mcuId..".lua", 'c'))
end
mspProcessTxQ()
processMspReply(mspPollReply())
Expand Down
6 changes: 0 additions & 6 deletions src/SCRIPTS/TELEMETRY/bf.lua

This file was deleted.