From: Nathael Pajani Date: Sun, 29 Dec 2013 21:13:44 +0000 (+0100) Subject: Comment and code for those with a LQFP64 or LQFP100 package. X-Git-Url: http://git.techno-innov.fr/?a=commitdiff_plain;h=5b979f441696686c4ab96e98d0fc6bfe26890510;p=soft%2Flpc122x%2Fcore Comment and code for those with a LQFP64 or LQFP100 package. --- diff --git a/drivers/gpio.c b/drivers/gpio.c index 6bda738..de69999 100644 --- a/drivers/gpio.c +++ b/drivers/gpio.c @@ -133,12 +133,15 @@ void gpio_on(void) /* Provide power to GPIO control blocks */ subsystem_power(LPC_SYS_ABH_CLK_CTRL_GPIO0, 1); subsystem_power(LPC_SYS_ABH_CLK_CTRL_GPIO1, 1); + /* FIXME : Power this one two if you use LQFP64 or LQFP100 packages */ + /* subsystem_power(LPC_SYS_ABH_CLK_CTRL_GPIO2, 1); */ } void gpio_off(void) { /* Remove power from GPIO control blocks */ subsystem_power(LPC_SYS_ABH_CLK_CTRL_GPIO0, 0); subsystem_power(LPC_SYS_ABH_CLK_CTRL_GPIO1, 0); + subsystem_power(LPC_SYS_ABH_CLK_CTRL_GPIO2, 0); }