Browse Source

APB comment correction

Scott Lahteine 6 years ago
parent
commit
7501e40e0b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/HAL/HAL_STM32F1/HAL_spi_STM32F1.cpp

+ 1
- 1
Marlin/src/HAL/HAL_STM32F1/HAL_spi_STM32F1.cpp View File

80
  */
80
  */
81
 void spiInit(uint8_t spiRate) {
81
 void spiInit(uint8_t spiRate) {
82
   /**
82
   /**
83
-   * STM32F1 APB1 = 72MHz, APB2 = 36MHz, max SPI speed of this MCU if 18Mhz 
83
+   * STM32F1 APB1 = 36MHz, APB2 = 72MHz, max SPI speed of this MCU if 18Mhz
84
    * STM32F1 has 3 SPI ports, SPI1 in APB1, SPI2/SPI3 in APB2
84
    * STM32F1 has 3 SPI ports, SPI1 in APB1, SPI2/SPI3 in APB2
85
    * so the minimum prescale of SPI1 is DIV4, SPI2/SPI3 is DIV2
85
    * so the minimum prescale of SPI1 is DIV4, SPI2/SPI3 is DIV2
86
    */
86
    */

Loading…
Cancel
Save