From 528fbaa7e2504a525f0f3c1e60fa95bac34c62e6 Mon Sep 17 00:00:00 2001 From: simon-wh Date: Tue, 1 Aug 2023 10:44:05 +0100 Subject: [PATCH] Fix syntax --- src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c b/src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c index ad0a0a8186..1a5e8f380b 100644 --- a/src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c +++ b/src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c @@ -672,7 +672,7 @@ void dcd_int_handler(uint8_t rhport) { // Only handle interrupts which are triggered and currently active uint32_t int_status = USB->ISTR; - int_status & = USB->CNTR; + int_status &= USB->CNTR; // Only continue if there is something to do if (!int_status) {