mirror of
https://github.com/hathach/tinyusb.git
synced 2025-04-17 08:45:13 +00:00
clean up
This commit is contained in:
parent
142300ca60
commit
1ee2bee5c8
@ -47,6 +47,13 @@
|
|||||||
#ifdef SOFTDEVICE_PRESENT
|
#ifdef SOFTDEVICE_PRESENT
|
||||||
#include "nrf_sdm.h"
|
#include "nrf_sdm.h"
|
||||||
#include "nrf_soc.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
|
#else
|
||||||
#include "nrfx_power.h"
|
#include "nrfx_power.h"
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user