We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c0a34a commit dcb3b2dCopy full SHA for dcb3b2d
targets/TARGET_NXP/TARGET_LPC17XX/device/system_LPC17xx.c
@@ -300,7 +300,7 @@
300
301
// If in 120MHz mode, clock the PLL at 480MHz as this is the only frequency that can give us both 120MHz for the core
302
// and 48MHz for USB.
303
-#ifdef MBED_CONF_TARGET_LPC17XX_CORE_CLK_120MHZ
+#if MBED_CONF_TARGET_LPC17XX_CORE_CLK_120MHZ
304
// Multiplier for PLL0. Example: if MBED_CONF_TARGET_LPC17XX_XTAL_FREQ is 6MHz, this will be 40
305
# define PLL0_MULTIPLIER (240000000/MBED_CONF_TARGET_LPC17XX_XTAL_FREQ)
306
# define PLL0CFG_Val (PLL0_MULTIPLIER-1) // PLL0 clock = <input clock> * <PLL0 multiplier> * 2 / 1 = 480MHz
0 commit comments