From: Nathael Pajani Date: Fri, 27 Mar 2015 12:59:09 +0000 (+0100) Subject: Fix some comments X-Git-Url: http://git.techno-innov.fr/?a=commitdiff_plain;h=646a35c0621670bbb2e215b8938c3c835d4cb185;p=soft%2Flpc122x%2Fcore Fix some comments --- diff --git a/core/system.c b/core/system.c index 7a966e9..59d69de 100644 --- a/core/system.c +++ b/core/system.c @@ -46,7 +46,7 @@ static struct lpc_desc_private lpc_private = { }; /***************************************************************************** */ -/* Requiered system inits */ +/* Required system inits */ /***************************************************************************** */ /* Set up number of CPU clocks for flash access (see chapter 4.5.42 and 4.10.4 of * LPC12xx User manual (UM10441.pdf)) @@ -217,9 +217,9 @@ void clock_config(uint32_t freq_sel) lpc_private.main_clock = (((freq_sel >> 3) & 0xFF) * 12 * 1000 * 1000); /* Setup PLL dividers */ sys_ctrl->sys_pll_ctrl = (((M - 1) & 0x1F) | (N << 5)); - /* Set sys_pllclkin to internal RC */ + /* Set sys_pll_clk to internal RC */ sys_ctrl->sys_pll_clk_sel = 0; - sys_ctrl->sys_pll_clk_upd_en = 0; /* (SYSPLLCLKUEN must go from LOW to HIGH */ + sys_ctrl->sys_pll_clk_upd_en = 0; /* SYSPLLCLKUEN must go from LOW to HIGH */ sys_ctrl->sys_pll_clk_upd_en = 1; /* Power-up PLL */ sys_ctrl->powerdown_run_cfg &= ~(LPC_POWER_DOWN_SYSPLL);