Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion targets/TARGET_STM/stm_spi_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ void spi_frequency(spi_t *obj, int hz) {

/* In case maximum pre-scaler still gives too high freq, raise an error */
if (spi_hz > hz) {
error("Couldn't set suitable spi freq: request:%d, lowest:%d\r\n", hz, spi_hz);
DEBUG_PRINTF("WARNING: lowest SPI freq (%d) higher than requested (%d)\r\n", spi_hz, hz);
}

DEBUG_PRINTF("spi_frequency, request:%d, select:%d\r\n", hz, spi_hz);
Expand Down