• R/O
  • SSH
  • HTTPS

chibios: Commit


Commit MetaInfo

Revision13090 (tree)
Zeit2019-10-06 22:49:50
Autorgdisirio

Log Message

Small errors.

Ändern Zusammenfassung

Diff

--- trunk/os/hal/ports/STM32/STM32G4xx/hal_lld.h (revision 13089)
+++ trunk/os/hal/ports/STM32/STM32G4xx/hal_lld.h (revision 13090)
@@ -553,7 +553,7 @@
553553 * @brief I2C1 clock source.
554554 */
555555 #if !defined(STM32_I2C1SEL) || defined(__DOXYGEN__)
556-#define STM32_I2C1SEL STM32_I2C1SEL_PCLK
556+#define STM32_I2C1SEL STM32_I2C1SEL_PCLK1
557557 #endif
558558
559559 /**
@@ -560,7 +560,7 @@
560560 * @brief I2C2 clock source.
561561 */
562562 #if !defined(STM32_I2C2SEL) || defined(__DOXYGEN__)
563-#define STM32_I2C2SEL STM32_I2C2SEL_PCLK
563+#define STM32_I2C2SEL STM32_I2C2SEL_PCLK1
564564 #endif
565565
566566 /**
@@ -567,7 +567,7 @@
567567 * @brief I2C3 clock source.
568568 */
569569 #if !defined(STM32_I2C3SEL) || defined(__DOXYGEN__)
570-#define STM32_I2C3SEL STM32_I2C3SEL_PCLK
570+#define STM32_I2C3SEL STM32_I2C3SEL_PCLK1
571571 #endif
572572
573573 /**
@@ -574,7 +574,7 @@
574574 * @brief I2C4 clock source.
575575 */
576576 #if !defined(STM32_I2C4SEL) || defined(__DOXYGEN__)
577-#define STM32_I2C4SEL STM32_I2C4SEL_PCLK
577+#define STM32_I2C4SEL STM32_I2C4SEL_PCLK1
578578 #endif
579579
580580 /**
@@ -581,7 +581,7 @@
581581 * @brief LPTIM1 clock source.
582582 */
583583 #if !defined(STM32_LPTIM1SEL) || defined(__DOXYGEN__)
584-#define STM32_LPTIM1SEL STM32_LPTIM1SEL_PCLK
584+#define STM32_LPTIM1SEL STM32_LPTIM1SEL_PCLK1
585585 #endif
586586
587587 /**
Show on old repository browser