libftdi-git Archives

Subject: port libftdi to libusb-1.0 branch, eeprom-new, updated. v0.17-172-g643a89e

From: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
To: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
Date: Wed, 19 Jan 2011 16:47:07 +0100 (CET)
The branch, eeprom-new has been updated
       via  643a89ea185ffd80d07f39be887598c2a64e58a5 (commit)
      from  89e7cfb530ba14c6a1353b217f6ae0569b81959c (commit)


- Log -----------------------------------------------------------------
commit 643a89ea185ffd80d07f39be887598c2a64e58a5
Author: Vladimir Yakovlev <nagos@xxxxxxxx>
Date:   Wed Jan 19 10:31:41 2011 +0300

    Not writing to file, in flash_raw mode
    
    Don't write eeprom file if flash_raw is set

-----------------------------------------------------------------------

Summary of changes:
 ftdi_eeprom/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ftdi_eeprom/main.c b/ftdi_eeprom/main.c
index ad8eb8d..3977f86 100644
--- 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)


hooks/post-receive
-- 
port libftdi to libusb-1.0

--
libftdi-git - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi-git+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread
  • port libftdi to libusb-1.0 branch, eeprom-new, updated. v0.17-172-g643a89e, libftdi-git <=