diff options
Diffstat (limited to 'tmk_core/protocol')
| -rw-r--r-- | tmk_core/protocol/chibios/chibios.c | 3 | ||||
| -rw-r--r-- | tmk_core/protocol/lufa/lufa.c | 3 | ||||
| -rw-r--r-- | tmk_core/protocol/vusb/protocol.c | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/tmk_core/protocol/chibios/chibios.c b/tmk_core/protocol/chibios/chibios.c index 5720bc3c4c..b8cded99fc 100644 --- a/tmk_core/protocol/chibios/chibios.c +++ b/tmk_core/protocol/chibios/chibios.c | |||
| @@ -191,6 +191,9 @@ void protocol_pre_task(void) { | |||
| 191 | // | 191 | // |
| 192 | // Pause for a while to let things settle... | 192 | // Pause for a while to let things settle... |
| 193 | wait_ms(USB_SUSPEND_WAKEUP_DELAY); | 193 | wait_ms(USB_SUSPEND_WAKEUP_DELAY); |
| 194 | // ...and then update the wakeup matrix again as the waking key | ||
| 195 | // might have been released during the delay | ||
| 196 | update_matrix_state_after_wakeup(); | ||
| 194 | # endif | 197 | # endif |
| 195 | } | 198 | } |
| 196 | } | 199 | } |
diff --git a/tmk_core/protocol/lufa/lufa.c b/tmk_core/protocol/lufa/lufa.c index e13f4b548e..3e442ba033 100644 --- a/tmk_core/protocol/lufa/lufa.c +++ b/tmk_core/protocol/lufa/lufa.c | |||
| @@ -826,6 +826,9 @@ void protocol_pre_task(void) { | |||
| 826 | // | 826 | // |
| 827 | // Pause for a while to let things settle... | 827 | // Pause for a while to let things settle... |
| 828 | wait_ms(USB_SUSPEND_WAKEUP_DELAY); | 828 | wait_ms(USB_SUSPEND_WAKEUP_DELAY); |
| 829 | // ...and then update the wakeup matrix again as the waking key | ||
| 830 | // might have been released during the delay | ||
| 831 | update_matrix_state_after_wakeup(); | ||
| 829 | # endif | 832 | # endif |
| 830 | } | 833 | } |
| 831 | } | 834 | } |
diff --git a/tmk_core/protocol/vusb/protocol.c b/tmk_core/protocol/vusb/protocol.c index e2d0c4112e..b95750306a 100644 --- a/tmk_core/protocol/vusb/protocol.c +++ b/tmk_core/protocol/vusb/protocol.c | |||
| @@ -125,6 +125,9 @@ void protocol_pre_task(void) { | |||
| 125 | // | 125 | // |
| 126 | // Pause for a while to let things settle... | 126 | // Pause for a while to let things settle... |
| 127 | wait_ms(USB_SUSPEND_WAKEUP_DELAY); | 127 | wait_ms(USB_SUSPEND_WAKEUP_DELAY); |
| 128 | // ...and then update the wakeup matrix again as the waking key | ||
| 129 | // might have been released during the delay | ||
| 130 | update_matrix_state_after_wakeup(); | ||
| 128 | # endif | 131 | # endif |
| 129 | } | 132 | } |
| 130 | } | 133 | } |
