From 7501e40e0b0cc3ea0cb0bc867ef2e2ab228dbdc6 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sun, 21 Jul 2019 20:13:36 -0500 Subject: [PATCH] APB comment correction --- Marlin/src/HAL/HAL_STM32F1/HAL_spi_STM32F1.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/HAL/HAL_STM32F1/HAL_spi_STM32F1.cpp b/Marlin/src/HAL/HAL_STM32F1/HAL_spi_STM32F1.cpp index ae5681ebe..c79a03010 100644 --- a/Marlin/src/HAL/HAL_STM32F1/HAL_spi_STM32F1.cpp +++ b/Marlin/src/HAL/HAL_STM32F1/HAL_spi_STM32F1.cpp @@ -80,7 +80,7 @@ void spiBegin() { */ void spiInit(uint8_t spiRate) { /** - * STM32F1 APB1 = 72MHz, APB2 = 36MHz, max SPI speed of this MCU if 18Mhz + * STM32F1 APB1 = 36MHz, APB2 = 72MHz, max SPI speed of this MCU if 18Mhz * STM32F1 has 3 SPI ports, SPI1 in APB1, SPI2/SPI3 in APB2 * so the minimum prescale of SPI1 is DIV4, SPI2/SPI3 is DIV2 */