aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Utzig <utzig@utzig.org>2015-05-15 20:44:37 -0300
committerFabio Utzig <utzig@utzig.org>2015-05-15 20:44:37 -0300
commit621e7198d7ed975152fc2902e3625dcf42285e5e (patch)
tree909a306a092c3808ffbe8b9d903a13dcad75a04a
parent4ac0b638b92db47625d729b938e71b262dadbb43 (diff)
downloadChibiOS-Contrib-621e7198d7ed975152fc2902e3625dcf42285e5e.tar.gz
ChibiOS-Contrib-621e7198d7ed975152fc2902e3625dcf42285e5e.tar.bz2
ChibiOS-Contrib-621e7198d7ed975152fc2902e3625dcf42285e5e.zip
Remove GPIO pin initialization
-rw-r--r--os/hal/ports/NRF51/NRF51822/hal_lld.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/os/hal/ports/NRF51/NRF51822/hal_lld.c b/os/hal/ports/NRF51/NRF51822/hal_lld.c
index 57caf9e..e1d2ed5 100644
--- a/os/hal/ports/NRF51/NRF51822/hal_lld.c
+++ b/os/hal/ports/NRF51/NRF51822/hal_lld.c
@@ -55,11 +55,6 @@
*/
void hal_lld_init(void)
{
- // XXX: LED at PIN0.20 was initialized at __early_init
-
- NRF_GPIO->PIN_CNF[18] = 1;
- NRF_GPIO->PIN_CNF[19] = 1;
- NRF_GPIO->OUTSET = ((uint32_t) 1 << 18) | ((uint32_t) 1 << 19);
}
/**