diff options
| author | hathach <[email protected]> | 2019-01-29 18:47:29 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-01-29 18:47:29 +0700 |
| commit | 777f41a066315c2c0d9e5c98773363937a9c920d (patch) | |
| tree | b45fd1d072c799215800e697bd6c1f7f993edc6a | |
| parent | 6752a7126477b21c542b2f19b4ddeaa7584b0f0b (diff) | |
clean up
| -rw-r--r-- | src/portable/nordic/nrf5x/hal_nrf5x.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/portable/nordic/nrf5x/hal_nrf5x.c b/src/portable/nordic/nrf5x/hal_nrf5x.c index f0a0b9632..47b33fb93 100644 --- a/src/portable/nordic/nrf5x/hal_nrf5x.c +++ b/src/portable/nordic/nrf5x/hal_nrf5x.c @@ -49,16 +49,9 @@ #ifdef SOFTDEVICE_PRESENT #include "nrf_sdm.h" #include "nrf_soc.h" +#endif -// 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 #include "tusb_hal.h" #include "device/dcd.h" |
