diff options
Diffstat (limited to 'chip/stm32/usb.c')
-rw-r--r-- | chip/stm32/usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/stm32/usb.c b/chip/stm32/usb.c index 7eb2363787..1711480d53 100644 --- a/chip/stm32/usb.c +++ b/chip/stm32/usb.c @@ -517,7 +517,7 @@ void usb_wake(void) } /* Only allow one caller at a time. */ - if (!atomic_read_clear(&usb_wake_done)) + if (!deprecated_atomic_read_clear(&usb_wake_done)) return; CPRINTF("WAKE\n"); |