git://developer.intra2net.com
/
libftdi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Not writing to file, in flash_raw mode
[libftdi]
/
ftdi_eeprom
/
main.c
diff --git
a/ftdi_eeprom/main.c
b/ftdi_eeprom/main.c
index
ad8eb8d
..
3977f86
100644
(file)
--- a/
ftdi_eeprom/main.c
+++ b/
ftdi_eeprom/main.c
@@
-362,7
+362,7
@@
int main(int argc, char *argv[])
}
// Write to file?
- if (filename != NULL && strlen(filename) > 0)
+ if (filename != NULL && strlen(filename) > 0 && !cfg_getbool(cfg, "flash_raw"))
{
fp = fopen(filename, "w");
if (fp == NULL)