fix flashing, which was breaking
This commit is contained in:
parent
63fb0eedbd
commit
070dafc6fe
@ -84,8 +84,8 @@ int main(int argc, char **argv) {
|
||||
LOGW("error reading %s: %s\n", argv[1], strerror(errno));
|
||||
// just assume it needs re-writing
|
||||
} else if (checklen == headerlen && !memcmp(header, check, headerlen)) {
|
||||
LOGI("header is the same, not flashing %s\n", argv[1]);
|
||||
return 0;
|
||||
LOGI("header is the same, flashing %s anyway\n", argv[1]);
|
||||
//return 0;
|
||||
}
|
||||
mtd_read_close(in);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user