Skip to content

Commit c053b70

Browse files
author
gorazd
committed
lpc546xx and lpc54114: fix clock
1 parent 2f8b6dc commit c053b70

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_LPC54114/TARGET_LPCXpresso/mbed_overrides.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ void ADC_ClockPower_Configuration(void)
4141
POWER_DisablePD(kPDRUNCFG_PD_TEMPS); /* Power on the temperature sensor. */
4242

4343
/* Enable the clock. */
44-
CLOCK_AttachClk(kFRO12M_to_MAIN_CLK);
4544
CLOCK_EnableClock(kCLOCK_Adc0);
4645
}
4746

targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_LPC546XX/TARGET_FF_LPC546XX/mbed_overrides.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,6 @@ void ADC_ClockPower_Configuration(void)
7373
POWER_DisablePD(kPDRUNCFG_PD_VREFP); /* Power on the reference voltage source. */
7474
POWER_DisablePD(kPDRUNCFG_PD_TS); /* Power on the temperature sensor. */
7575

76-
/* Enable the clock. */
77-
CLOCK_AttachClk(kFRO12M_to_MAIN_CLK);
7876

7977
/* CLOCK_AttachClk(kMAIN_CLK_to_ADC_CLK); */
8078
/* Sync clock source is not used. Using sync clock source and would be divided by 2.

targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_LPC546XX/TARGET_LPCXpresso/mbed_overrides.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,6 @@ void ADC_ClockPower_Configuration(void)
121121
POWER_DisablePD(kPDRUNCFG_PD_VREFP); /* Power on the reference voltage source. */
122122
POWER_DisablePD(kPDRUNCFG_PD_TS); /* Power on the temperature sensor. */
123123

124-
/* Enable the clock. */
125-
CLOCK_AttachClk(kFRO12M_to_MAIN_CLK);
126124

127125
/* CLOCK_AttachClk(kMAIN_CLK_to_ADC_CLK); */
128126
/* Sync clock source is not used. Using sync clock source and would be divided by 2.

0 commit comments

Comments
 (0)