If flash_raw we no longer write firmware back to the same file.
---
src/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/main.c b/src/main.c
index a04decf..15f8a7e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -289,7 +289,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)
--
1.7.1
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|