We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb00f2b commit 9a69e9dCopy full SHA for 9a69e9d
loader/main.c
@@ -86,11 +86,6 @@ static int loader(const struct shell *sh)
86
return rc;
87
}
88
89
- if (!header[0] || header[0] == 0xff) {
90
- printk("No sketch found\n");
91
- return -ENOENT;
92
- }
93
-
94
struct sketch_header_v1 *sketch_hdr = (struct sketch_header_v1 *)(header + 7);
95
if (sketch_hdr->ver != 0x1 || sketch_hdr->magic != 0x2341) {
96
printk("Invalid sketch header\n");
0 commit comments