From 5b979f441696686c4ab96e98d0fc6bfe26890510 Mon Sep 17 00:00:00 2001 From: Nathael Pajani Date: Sun, 29 Dec 2013 22:13:44 +0100 Subject: [PATCH] Comment and code for those with a LQFP64 or LQFP100 package. --- drivers/gpio.c | 3 +++ 1 file changed, 3 insertions(+) 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); } -- 2.43.0