This commit is contained in:
hathach
2019-01-29 18:47:29 +07:00
parent 6752a71264
commit 777f41a066
+2 -9
View File
@@ -49,17 +49,10 @@
#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
#include "nrfx_power.h"
#include "tusb_hal.h"
#include "device/dcd.h"