From f16f5b4fac381325fb16fc15c70add4ba3486ebd Mon Sep 17 00:00:00 2001 From: itzandroidtab Date: Sat, 30 Nov 2024 16:16:45 +0100 Subject: [PATCH] updated cpu clock initialisation to new method in klib --- flash/flash_device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flash/flash_device.cpp b/flash/flash_device.cpp index e5bde1f..8fc7c21 100644 --- a/flash/flash_device.cpp +++ b/flash/flash_device.cpp @@ -177,7 +177,7 @@ int __attribute__ ((noinline)) Init(const uint32_t address, const uint32_t frequ // setup the clock to 96Mhz (this is using the internal 4Mhz oscillator) // (((47 + 1) * 2 * 4Mhz) / (0 + 1) = 384Mhz) / (3 + 1) = 96Mhz - clock::set_main(); + clock::set_main(); // init the cs pin cs::init();