We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 469d681 commit 0e64ff9Copy full SHA for 0e64ff9
targets/TARGET_STM/TARGET_STM32F7/spi_api.c
@@ -58,7 +58,9 @@ int spi_get_clock_freq(spi_t *obj)
58
case SPI_1:
59
case SPI_4:
60
case SPI_5:
61
+ #if defined SPI6_BASE
62
case SPI_6:
63
+ #endif // defined SPI6_BASE
64
/* SPI_1, SPI_4, SPI_5 and SPI_6. Source CLK is PCKL2 */
65
spi_hz = HAL_RCC_GetPCLK2Freq();
66
break;
0 commit comments