"TLE8888 SR Unexpected response" does not work as intended fix #1466

This commit is contained in:
rusefi 2020-05-22 22:56:19 -04:00
parent 948ba1a92b
commit 44b5e38d3a
3 changed files with 3 additions and 4 deletions

View File

@ -2081,7 +2081,7 @@ typedef enum {
CUSTOM_INVALID_MODE_SETTING = 6721,
CUSTOM_ERR_TASK_TIMER_OVERFLOW = 6722,
CUSTOM_NO_ETB_FOR_IDLE = 6723,
CUSTOM_ERR_6724 = 6724,
CUSTOM_ERR_TLE8888_RESPONSE = 6724,
CUSTOM_ERR_CJ125_DIAG = 6725,
CUSTOM_ERR_VVT_OUT_OF_RANGE = 6726,
CUSTOM_ERR_6727 = 6727,

View File

@ -717,6 +717,6 @@ int getRusEfiVersion(void) {
if (initBootloader() != 0)
return 123;
#endif /* EFI_BOOTLOADER_INCLUDE_CODE */
return 20200522;
return 20200523;
}
#endif /* EFI_UNIT_TEST */

View File

@ -831,8 +831,7 @@ int tle8888SpiStartupExchange(struct tle8888_priv *chip) {
tle8888_spi_rw(chip, CMD_SR, NULL);
tle8888_spi_rw(chip, CMD_UNLOCK, &response);
if (response != (CMD_WRITE | CMD_REG_ADDR(CMD_SR_CODE))) {
//
// firmwareError(CUSTOM_ERR_6724, "TLE8888 SR Unexpected response %x while %f", response, vBattForTle8888);
firmwareError(CUSTOM_ERR_TLE8888_RESPONSE, "TLE8888 SR Unexpected response %x while %f", response, vBattForTle8888);
}
/**