From 9a08a06792e6a7002eb33ebff3b4dbe84ec88076 Mon Sep 17 00:00:00 2001 From: Koen Zandberg Date: Mon, 10 Jun 2019 08:14:31 +0200 Subject: [PATCH] fixup! fixup! fixup! fixup! fixup! nrf52: Add USB device peripheral driver --- cpu/nrf52/include/nrfusb.h | 10 +++++----- cpu/nrf52/periph/usbdev.c | 3 +-- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/cpu/nrf52/include/nrfusb.h b/cpu/nrf52/include/nrfusb.h index 546247cda8bd0..d69967ff4b6d2 100644 --- a/cpu/nrf52/include/nrfusb.h +++ b/cpu/nrf52/include/nrfusb.h @@ -7,8 +7,8 @@ */ /** - * @defgroup drivers_nrf5x_nrfusb NRF usb peripheral implementation - * @ingroup drivers_usb + * @defgroup cpu_nrf52_nrfusb NRF usb peripheral implementation + * @ingroup cpu_nrf52 * @brief Minimal driver for the NRF52840 usb peripheral * * @{ @@ -19,8 +19,8 @@ * @author Koen Zandberg */ -#ifndef NRF_USB_H -#define NRF_USB_H +#ifndef NRFUSB_H +#define NRFUSB_H #include #include @@ -74,5 +74,5 @@ typedef struct { #ifdef __cplusplus } #endif -#endif /* NRF_USB_H */ +#endif /* NRFUSB_H */ /** @} */ diff --git a/cpu/nrf52/periph/usbdev.c b/cpu/nrf52/periph/usbdev.c index 0cba5c4d3515d..faecf7f6e90a0 100644 --- a/cpu/nrf52/periph/usbdev.c +++ b/cpu/nrf52/periph/usbdev.c @@ -7,7 +7,7 @@ */ /** - * @ingroup cpu_nrf52 + * @ingroup cpu_nrf52_nrfusb * @{ * @file * @brief USB interface functions @@ -655,4 +655,3 @@ void isr_usbd(void) } cortexm_isr_end(); } -