diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/eeprom_main.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/eeprom_main.c b/src/eeprom_main.c index 050da4d..b4fa197 100644 --- a/src/eeprom_main.c +++ b/src/eeprom_main.c @@ -640,6 +640,16 @@ int main(int argc, char *argv[]) { log_error("un-handled out-format"); exit(1); } + + /* print out what we wrote to the eeprom, unless stdout */ + if (strcmp(out_file, "-")) { + log_info("Data written to %s", out_file); + if (daughter_card) { + mts_dc_eeprom_inspect(&dc_eeprom); + } else { + mts_id_eeprom_inspect(&id_eeprom); + } + } } return 0; |