summaryrefslogtreecommitdiff
path: root/chip/stm32/usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/stm32/usb.c')
-rw-r--r--chip/stm32/usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/stm32/usb.c b/chip/stm32/usb.c
index dde84efaea..a1f60e8906 100644
--- a/chip/stm32/usb.c
+++ b/chip/stm32/usb.c
@@ -578,7 +578,7 @@ void usb_wake(void)
}
/* Only allow one caller at a time. */
- if (!atomic_clear((int *)&usb_wake_done))
+ if (!atomic_clear((atomic_t *)&usb_wake_done))
return;
CPRINTF("WAKE\n");