Skip to content

Commit

Permalink
Fix boot_path Path loading
Browse files Browse the repository at this point in the history
the boot path is a charlist eg erlang "".

But storing it in nvs with nvs_put_binary, means it's stored as a binary.

minimal fix.

Signed-off-by: Peter M <petermm@gmail.com>
  • Loading branch information
petermm committed Jan 31, 2025
1 parent b257211 commit 6b67ba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/esp32boot/esp32init.erl
Original file line number Diff line number Diff line change
@@ -85,7 +85,7 @@ get_boot_path() ->
undefined ->
"/dev/partition/by-name/main.avm";
Path ->
Path
binary_to_list(Path)
end.

get_start_module() ->

0 comments on commit 6b67ba0

Please sign in to comment.