1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-31 01:11:21 +01:00

Merge pull request #15027 from chrysn-pull-requests/nrf52-no-poweroff

cpu/nrf52: Remove unused static inline USB poweroff
This commit is contained in:
benpicco 2020-09-15 16:30:11 +02:00 committed by GitHub
commit d1c548ea5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -114,11 +114,6 @@ static inline void poweron(nrfusb_t *usbdev)
usbdev->device->ENABLE = USBD_ENABLE_ENABLE_Msk;
}
static inline void poweroff(nrfusb_t *usbdev)
{
usbdev->device->ENABLE = 0x00;
}
static void usb_attach(nrfusb_t *usbdev)
{
DEBUG("nrfusb: Enabling pull-up\n");