crypto-aes
Hierophect 3 years ago
parent bd9893ab98
commit 3d1b6d9fc8
  1. 2
      ports/stm32f4/common-hal/busio/SPI.c

@ -50,7 +50,7 @@ STATIC uint32_t get_busclock(SPI_TypeDef * instance) {
if(instance == SPI2) return HAL_RCC_GetPCLK1Freq();
#endif
#ifdef SPI3
if(instance == SPI2) return HAL_RCC_GetPCLK1Freq();
if(instance == SPI3) return HAL_RCC_GetPCLK1Freq();
#endif
return HAL_RCC_GetPCLK2Freq();
}

Loading…
Cancel
Save