Skip to content
Merged
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
2 changes: 1 addition & 1 deletion lib/radio_launcher.ex
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
macaddr: macaddr,
hw_model: 50,
role: :CLIENT,
long_name: "pockedOS #{short_node_id}",
long_name: "pocketOS #{short_node_id}",
short_name: short_node_id,
is_licensed: false
}
Expand Down Expand Up @@ -67,12 +67,12 @@
lpad("0" <> s, n)
end

defp load_cfg_map(path) do

Check warning on line 70 in lib/radio_launcher.ex

View workflow job for this annotation

GitHub Actions / test (27.0, 1.15)

variable "path" is unused (if the variable is not meant to be used, prefix it with an underscore)

Check warning on line 70 in lib/radio_launcher.ex

View workflow job for this annotation

GitHub Actions / test (27.0, 1.15)

variable "path" is unused (if the variable is not meant to be used, prefix it with an underscore)

Check warning on line 70 in lib/radio_launcher.ex

View workflow job for this annotation

GitHub Actions / test (27.0, 1.15)

variable "path" is unused (if the variable is not meant to be used, prefix it with an underscore)
with {:ok, file} <- PocketOS.File.open("FS0:/meshtcfg.sxp", [:read]),
{:ok, data} <- PocketOS.File.read(file, 8192) do
data
|> :sexp_lexer.string()

Check warning on line 74 in lib/radio_launcher.ex

View workflow job for this annotation

GitHub Actions / test (27.0, 1.15)

:sexp_lexer.string/1 is undefined (module :sexp_lexer is not available or is yet to be defined)

Check warning on line 74 in lib/radio_launcher.ex

View workflow job for this annotation

GitHub Actions / test (27.0, 1.15)

:sexp_lexer.string/1 is undefined (module :sexp_lexer is not available or is yet to be defined)

Check warning on line 74 in lib/radio_launcher.ex

View workflow job for this annotation

GitHub Actions / test (27.0, 1.15)

:sexp_lexer.string/1 is undefined (module :sexp_lexer is not available or is yet to be defined)
|> :sexp_parser.parse()

Check warning on line 75 in lib/radio_launcher.ex

View workflow job for this annotation

GitHub Actions / test (27.0, 1.15)

:sexp_parser.parse/1 is undefined (module :sexp_parser is not available or is yet to be defined)

Check warning on line 75 in lib/radio_launcher.ex

View workflow job for this annotation

GitHub Actions / test (27.0, 1.15)

:sexp_parser.parse/1 is undefined (module :sexp_parser is not available or is yet to be defined)

Check warning on line 75 in lib/radio_launcher.ex

View workflow job for this annotation

GitHub Actions / test (27.0, 1.15)

:sexp_parser.parse/1 is undefined (module :sexp_parser is not available or is yet to be defined)
|> Enum.map(&List.to_tuple/1)
|> Enum.into(%{})
else
Expand Down
Loading