From 14b0b5dc4c1f2cbce6f70c0bbc0702a369670601 Mon Sep 17 00:00:00 2001 From: rusefi Date: Fri, 22 May 2020 01:05:07 -0400 Subject: [PATCH] more info into error message --- firmware/hw_layer/drivers/gpio/tle8888.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/hw_layer/drivers/gpio/tle8888.c b/firmware/hw_layer/drivers/gpio/tle8888.c index 78a5646bfb..ab0f259b71 100644 --- a/firmware/hw_layer/drivers/gpio/tle8888.c +++ b/firmware/hw_layer/drivers/gpio/tle8888.c @@ -831,7 +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", response); + firmwareError(CUSTOM_ERR_6724, "TLE8888 SR Unexpected response %x while %f", response, vBattForTle8888); } /**