diff options
| -rwxr-xr-x | src/usr/i2c/eepromdd.C | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/usr/i2c/eepromdd.C b/src/usr/i2c/eepromdd.C index dc3eaa9cc..5dc99a869 100755 --- a/src/usr/i2c/eepromdd.C +++ b/src/usr/i2c/eepromdd.C @@ -360,6 +360,12 @@ bool eepromPresence ( TARGETING::Target * i_target ) } while( 0 ); + // If there was an error commit the error log + if( err ) + { + errlCommit( err, I2C_COMP_ID ); + } + TRACDCOMP(g_trac_eeprom, EXIT_MRK"eepromPresence()"); return l_present; } |

