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 bd9893a commit 3d1b6d9Copy full SHA for 3d1b6d9
ports/stm32f4/common-hal/busio/SPI.c
@@ -50,7 +50,7 @@ STATIC uint32_t get_busclock(SPI_TypeDef * instance) {
50
if(instance == SPI2) return HAL_RCC_GetPCLK1Freq();
51
#endif
52
#ifdef SPI3
53
- if(instance == SPI2) return HAL_RCC_GetPCLK1Freq();
+ if(instance == SPI3) return HAL_RCC_GetPCLK1Freq();
54
55
return HAL_RCC_GetPCLK2Freq();
56
}
0 commit comments