projects
/
hmcfgusb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3b35a8c
)
fix culfw version-check
author
Michael Gernoth
<michael@gernoth.net>
Fri, 14 Mar 2014 19:55:37 +0000
(20:55 +0100)
committer
Michael Gernoth
<michael@gernoth.net>
Fri, 14 Mar 2014 19:55:37 +0000
(20:55 +0100)
flash-ota.c
patch
|
blob
|
blame
|
history
diff --git
a/flash-ota.c
b/flash-ota.c
index 634e19b2b0db0c09af00ffb81d39114d6ad9d94c..5efd027c148d01070d76e87faab8d9aa5be20bdf 100644
(file)
--- a/
flash-ota.c
+++ b/
flash-ota.c
@@
-435,11
+435,9
@@
int main(int argc, char **argv)
(rdata.version >> 8) & 0xff,
rdata.version & 0xff);
(rdata.version >> 8) & 0xff,
rdata.version & 0xff);
- if (rdata.version < 0x013
9
) {
- fprintf(stderr, "\nThis version does _not_ support firmware upgrade mode!\n");
+ if (rdata.version < 0x013
a
) {
+ fprintf(stderr, "\nThis version does _not_ support firmware upgrade mode
, you need at least 1.58
!\n");
exit(EXIT_FAILURE);
exit(EXIT_FAILURE);
- } else if (rdata.version < 0x0140) {
- printf("\n*** This version probably not supports firmware upgrade mode! ***\n\n");
}
} else {
hmcfgusb_set_debug(debug);
}
} else {
hmcfgusb_set_debug(debug);
Impressum
,
Datenschutz