Skip to content

Commit 7548c0f

Browse files
committed
[ext] Fixes for STM32U5 memory map and rcc
1 parent d2cc304 commit 7548c0f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/modm/platform/clock/stm32/rcc_u5.hpp.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ public:
763763
MsiK = 0b1001,
764764
};
765765
static inline void
766-
setMco1ClockSource(McoClockSource src, McoPrescaler div)
766+
setMcoClockSource(McoClockSource src, McoPrescaler div)
767767
{
768768
RCC->CFGR1 = (RCC->CFGR1 & ~(RCC_CFGR1_MCOSEL | RCC_CFGR1_MCOPRE)) |
769769
(uint32_t(src) << RCC_CFGR1_MCOSEL_Pos) | (uint32_t(div) << RCC_CFGR1_MCOPRE_Pos);

0 commit comments

Comments
 (0)