pandad: lower log level for low level error

This commit is contained in:
Adeeb Shihadeh
2024-11-22 19:40:34 -08:00
parent 1b921fa6f9
commit 38318db4c6

View File

@@ -239,7 +239,7 @@ int PandaSpiHandle::spi_transfer_retry(uint8_t endpoint, uint8_t *tx_data, uint1
// due to full TX buffers
nack_count += 1;
if (nack_count > 3) {
SPILOG(LOGE, "NACK sleep %d", nack_count);
SPILOG(LOGD, "NACK sleep %d", nack_count);
usleep(std::clamp(nack_count*10, 200, 2000));
}
}