Skip to content

Commit

Permalink
pandad: lower log level for low level error
Browse files Browse the repository at this point in the history
  • Loading branch information
adeebshihadeh committed Nov 23, 2024
1 parent 1b921fa commit 38318db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/pandad/spi.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}
Expand Down

0 comments on commit 38318db

Please sign in to comment.