We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec9326e commit 45a735bCopy full SHA for 45a735b
loader/main.c
@@ -142,7 +142,7 @@ static int loader(const struct shell *sh)
142
printk("Unable to allocate %d bytes\n", sketch_buf_len);
143
}
144
145
- rc = flash_area_read(fa, HEADER_LEN, sketch_buf, sketch_buf_len);
+ rc = flash_area_read(fa, 0, sketch_buf, sketch_buf_len);
146
if (rc) {
147
printk("Failed to read sketch area, rc %d\n", rc);
148
return rc;
0 commit comments