Skip to content

Commit 45a735b

Browse files
committed
loader: fix offset for CONFIG_LLEXT_STORAGE_WRITABLE
1 parent ec9326e commit 45a735b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

loader/main.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ static int loader(const struct shell *sh)
142142
printk("Unable to allocate %d bytes\n", sketch_buf_len);
143143
}
144144

145-
rc = flash_area_read(fa, HEADER_LEN, sketch_buf, sketch_buf_len);
145+
rc = flash_area_read(fa, 0, sketch_buf, sketch_buf_len);
146146
if (rc) {
147147
printk("Failed to read sketch area, rc %d\n", rc);
148148
return rc;

0 commit comments

Comments
 (0)