From a76297c55eb03a42f62b34c997a1645d5a623bfc Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Wed, 12 Oct 2022 13:53:22 +0200 Subject: [PATCH] cpu/stm32/periph/usbdev_fs: small cleanup of comment formatting --- cpu/stm32/periph/usbdev_fs.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cpu/stm32/periph/usbdev_fs.c b/cpu/stm32/periph/usbdev_fs.c index 19e3730448..9d6478d4d3 100644 --- a/cpu/stm32/periph/usbdev_fs.c +++ b/cpu/stm32/periph/usbdev_fs.c @@ -246,9 +246,10 @@ static void _set_ep_in_status(uint16_t *val, uint16_t mask) static void _set_ep_out_status(uint16_t *val, uint16_t mask) { - /* status endpoints bits can only be toggled, writing 0 - as no effect. Thus, check which bits should be set - then XOR it with their current value */ + /* status endpoints bits can only be toggled, writing 0 + * as no effect. Thus, check which bits should be set + * then XOR it with their current value */ + if (mask & USB_EPRX_DTOG1) { *val ^= USB_EPRX_DTOG1; }