From a1f5ea4f76e77b110cd97e0c41340d3c1dc1d83e Mon Sep 17 00:00:00 2001 From: Romain Goyet Date: Wed, 9 Jan 2019 11:00:36 +0100 Subject: [PATCH] [ion/f730] Don't init clocks for now --- ion/src/f730/device.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ion/src/f730/device.cpp b/ion/src/f730/device.cpp index 3f111c497..7cc714002 100644 --- a/ion/src/f730/device.cpp +++ b/ion/src/f730/device.cpp @@ -229,6 +229,7 @@ void shutdownPeripherals(bool keepLEDAwake) { } void initClocks() { +#if 0 /* System clock * Configure the CPU at 96 MHz, APB2 and USB at 48 MHz. */ @@ -288,6 +289,7 @@ void initClocks() { // Now that we don't need use it anymore, turn the HSI off RCC.CR()->setHSION(false); +#endif // Peripheral clocks