Skip to content

Commit

Permalink
[stm32] Rcc: Fix PllSource for some STM32F3 devices
Browse files Browse the repository at this point in the history
  • Loading branch information
rleh committed Oct 6, 2020
1 parent ceef55d commit d89c06e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modm/platform/clock/stm32/rcc.hpp.in
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public:
Hsi = RCC_CFGR_PLLSRC_HSI_PREDIV,
InternalClock = Hsi,
%% endif
%% if (target["family"] == "f0") or (target["family"] == "f3" and target["size"] in ["8", "c"])
%% if (target["family"] == "f0") or (target["family"] == "f3" and target["name"] in ["18", "28", "58", "73", "78"]) or (target["family"] == "f3" and target["size"] in ["8", "c"])
HsiDiv2 = RCC_CFGR_PLLSRC_HSI_DIV2,
%% endif
/// High speed external clock (see HseConfig)
Expand Down

0 comments on commit d89c06e

Please sign in to comment.