From a93deb4e95b888ad5c89d60b547de7897bd5b052 Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Mon, 5 Jul 2021 00:12:47 +0200 Subject: [PATCH] cpu/stm32: usbdev: fix pm_layered include --- cpu/stm32/periph/usbdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/stm32/periph/usbdev.c b/cpu/stm32/periph/usbdev.c index c123a350fd..3ba297366a 100644 --- a/cpu/stm32/periph/usbdev.c +++ b/cpu/stm32/periph/usbdev.c @@ -30,6 +30,7 @@ #include "periph/pm.h" #include "periph/gpio.h" #include "periph/usbdev.h" +#include "pm_layered.h" #include "usbdev_stm32.h" /** @@ -922,7 +923,6 @@ static int _usbdev_ep_ready(usbdev_ep_t *ep, size_t len) return -1; } - if (_uses_dma(conf)) { _in_regs(conf, ep->num)->DIEPDMA = (uint32_t)ep->buf; }