Skip to content

Commit dcb3b2d

Browse files
Fix #if
1 parent 1c0a34a commit dcb3b2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

targets/TARGET_NXP/TARGET_LPC17XX/device/system_LPC17xx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@
300300

301301
// If in 120MHz mode, clock the PLL at 480MHz as this is the only frequency that can give us both 120MHz for the core
302302
// and 48MHz for USB.
303-
#ifdef MBED_CONF_TARGET_LPC17XX_CORE_CLK_120MHZ
303+
#if MBED_CONF_TARGET_LPC17XX_CORE_CLK_120MHZ
304304
// Multiplier for PLL0. Example: if MBED_CONF_TARGET_LPC17XX_XTAL_FREQ is 6MHz, this will be 40
305305
# define PLL0_MULTIPLIER (240000000/MBED_CONF_TARGET_LPC17XX_XTAL_FREQ)
306306
# define PLL0CFG_Val (PLL0_MULTIPLIER-1) // PLL0 clock = <input clock> * <PLL0 multiplier> * 2 / 1 = 480MHz

0 commit comments

Comments
 (0)