File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ <h3>Output:</h3>
7575
7676 < script type ="module ">
7777 // Load the WASM lib
78- import init , { decode as esp_exception_decode } from "./esp_exception_decoder_rs .js" ;
78+ import init , { decode as esp_stacktrace_decode } from "./esp_stacktrace_decoder_rs .js" ;
7979
8080 // Get some references to the DOM
8181 const file_selector = document . querySelector ( '#file-selector' ) ;
@@ -104,7 +104,7 @@ <h3>Output:</h3>
104104 reader . onload = ( e ) => {
105105 // Convert the file content to Uint8Array for the decode function (expecting &[u8] in Rust)
106106 const elf_bytes = new Uint8Array ( e . target . result ) ;
107- const decoded_addresses = esp_exception_decode ( elf_bytes , stacktrace . value ) ;
107+ const decoded_addresses = esp_stacktrace_decode ( elf_bytes , stacktrace . value ) ;
108108 // Unhide and update the decoded text area with the result from decode call
109109 section_output . removeAttribute ( 'hidden' ) ;
110110 decoded_list . textContent = '' ;
You can’t perform that action at this time.
0 commit comments