diff options
| author | hathach <[email protected]> | 2018-07-02 11:09:22 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-07-02 11:09:22 +0700 |
| commit | 1ee2bee5c8bc997c107ed1d1f03db183f513df42 (patch) | |
| tree | 0143dfb4d129548aa5d629524e0826b9be2fc694 /src/portable | |
| parent | 142300ca60d4c08d3d05df77c943e76b4336b21f (diff) | |
clean up
Diffstat (limited to 'src/portable')
| -rw-r--r-- | src/portable/nordic/nrf5x/hal_nrf5x.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/portable/nordic/nrf5x/hal_nrf5x.c b/src/portable/nordic/nrf5x/hal_nrf5x.c index d831314cb..7d89a2e74 100644 --- a/src/portable/nordic/nrf5x/hal_nrf5x.c +++ b/src/portable/nordic/nrf5x/hal_nrf5x.c @@ -47,6 +47,13 @@ #ifdef SOFTDEVICE_PRESENT #include "nrf_sdm.h" #include "nrf_soc.h" + +// TODO fully move to nrfx +enum { + NRFX_POWER_USB_EVT_DETECTED, /**< USB power detected on the connector (plugged in). */ + NRFX_POWER_USB_EVT_REMOVED, /**< USB power removed from the connector. */ + NRFX_POWER_USB_EVT_READY /**< USB power regulator ready. */ +}; #else #include "nrfx_power.h" #endif |
