Change rwu send condition
This commit is contained in:
parent
2328012e48
commit
4e6a1f9acc
1 changed files with 2 additions and 2 deletions
|
|
@ -33,7 +33,7 @@ uint8_t keyboard_leds(void) {
|
|||
}
|
||||
|
||||
void send_keyboard(report_keyboard_t *report) {
|
||||
if (tud_ready() && tud_suspended()){
|
||||
if (tud_suspended()) {
|
||||
tud_remote_wakeup();
|
||||
}
|
||||
|
||||
|
|
@ -48,7 +48,7 @@ void send_keyboard(report_keyboard_t *report) {
|
|||
}
|
||||
|
||||
void send_mouse(report_mouse_t *report) {
|
||||
if (tud_ready() && tud_suspended()){
|
||||
if (tud_suspended()) {
|
||||
tud_remote_wakeup();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue