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>
75
75
76
76
< script type ="module ">
77
77
// 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" ;
79
79
80
80
// Get some references to the DOM
81
81
const file_selector = document . querySelector ( '#file-selector' ) ;
@@ -104,7 +104,7 @@ <h3>Output:</h3>
104
104
reader . onload = ( e ) => {
105
105
// Convert the file content to Uint8Array for the decode function (expecting &[u8] in Rust)
106
106
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 ) ;
108
108
// Unhide and update the decoded text area with the result from decode call
109
109
section_output . removeAttribute ( 'hidden' ) ;
110
110
decoded_list . textContent = '' ;
You can’t perform that action at this time.
0 commit comments