more readable error message thank you Matt!
This commit is contained in:
parent
29a36085ff
commit
fc28692258
|
@ -831,7 +831,7 @@ int tle8888SpiStartupExchange(struct tle8888_priv *chip) {
|
||||||
tle8888_spi_rw(chip, CMD_SR, NULL);
|
tle8888_spi_rw(chip, CMD_SR, NULL);
|
||||||
tle8888_spi_rw(chip, CMD_UNLOCK, &response);
|
tle8888_spi_rw(chip, CMD_UNLOCK, &response);
|
||||||
if (response != (CMD_WRITE | CMD_REG_ADDR(CMD_SR_CODE))) {
|
if (response != (CMD_WRITE | CMD_REG_ADDR(CMD_SR_CODE))) {
|
||||||
firmwareError(CUSTOM_ERR_TLE8888_RESPONSE, "TLE8888 SR Unexpected response %x while %f", response, vBattForTle8888);
|
firmwareError(CUSTOM_ERR_TLE8888_RESPONSE, "please check your VBatt wiring and TLE8888 soldering r=%x while vbatt=%f", response, vBattForTle8888);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue