Fix build for attiny85-based boards. (#12044)
This commit is contained in:
parent
e2d3cefc95
commit
6623744172
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue