Hiroh Satoh / keyboard Featured

Dependencies:   BLE_API mbed-dev nRF51822

Revision:
41:2b034f22b98f
Parent:
40:364deaa190fe
Child:
42:2c3be8694896
--- a/main.cpp	Fri Aug 26 16:03:18 2016 +0000
+++ b/main.cpp	Fri Aug 26 16:12:28 2016 +0000
@@ -388,8 +388,8 @@
 	
 	// Set LED Pin as HIGH Current mode
 	NRF_GPIO->PIN_CNF[PIN_STATUS_LED] =
-		(NRF_GPIO->PIN_CNF[PIN_STATUS_LED] & GPIO_PIN_CNF_DRIVE_Msk) |
-		(GPIO_PIN_CNF_DRIVE_H0H1 << GPIO_PIN_CNF_DRIVE_Pos);
+		(NRF_GPIO->PIN_CNF[PIN_STATUS_LED] & ~GPIO_PIN_CNF_DRIVE_Msk) |
+		(GPIO_PIN_CNF_DRIVE_S0S1 << GPIO_PIN_CNF_DRIVE_Pos);
 
 	WatchDog::init();