Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BLE_API mbed-dev nRF51822
Diff: main.cpp
- 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();