diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2020-06-01 11:06:21 +0300 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2020-06-01 11:06:21 +0300 |
| commit | da153304bc308e9f6a101384bd55d2e85d172618 (patch) | |
| tree | 195aedecfee1ddefc0f7648716b5bdd424c93211 /Software/Embedded_SW | |
| parent | 8f6a700c5678fa2ccae051ef6c957860bf5e9d89 (diff) | |
| download | Tango-da153304bc308e9f6a101384bd55d2e85d172618.tar.gz Tango-da153304bc308e9f6a101384bd55d2e85d172618.zip | |
activity led red on head error
Diffstat (limited to 'Software/Embedded_SW')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Drivers/I2C_Communication/Head_Card/EEPROM/Head_EEPROM.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Software/Embedded_SW/Embedded/Drivers/I2C_Communication/Head_Card/EEPROM/Head_EEPROM.c b/Software/Embedded_SW/Embedded/Drivers/I2C_Communication/Head_Card/EEPROM/Head_EEPROM.c index 603c13ad0..17e8cfb46 100644 --- a/Software/Embedded_SW/Embedded/Drivers/I2C_Communication/Head_Card/EEPROM/Head_EEPROM.c +++ b/Software/Embedded_SW/Embedded/Drivers/I2C_Communication/Head_Card/EEPROM/Head_EEPROM.c @@ -116,6 +116,10 @@ uint32_t Check_Head_Type_Via_EEPROM() status |= I2C_Read(I2C_ID_HEAD_CARD, I2C_HEAD_EEPROM_SLAVE_ADD + 1, Read_Buf, 2); #ifndef EVALUATION_BOARD + if (status == 0xFF) + { + ACTIVITY_RED_LED_ON; + } if((Head_i2c_status == I2C_MASTER_ERR_ADDR_ACK)||(status == 0xFF)) { |
