Fix build for attiny85-based boards. (#12044)

This commit is contained in:
Nick Brassel 2021-02-28 09:33:33 +11:00 committed by GitHub
parent e2d3cefc95
commit 6623744172
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,6 +82,7 @@ static void vusb_suspend(void) {
suspend_power_down(); suspend_power_down();
} }
#if USB_COUNT_SOF
static void vusb_wakeup(void) { static void vusb_wakeup(void) {
vusb_suspended = false; vusb_suspended = false;
suspend_wakeup_init(); suspend_wakeup_init();
@ -90,6 +91,7 @@ static void vusb_wakeup(void) {
sleep_led_disable(); sleep_led_disable();
#endif #endif
} }
#endif
/** \brief Setup USB /** \brief Setup USB
* *