summaryrefslogtreecommitdiffstats
path: root/tmk_core/protocol
diff options
context:
space:
mode:
authorOfer Plesser <plesserofer@gmail.com>2016-12-03 12:41:56 +0100
committerOfer Plesser <plesserofer@gmail.com>2016-12-03 12:41:56 +0100
commitf0768f8be96fb7a9af354d5f1584b0f67cc5b960 (patch)
treecb2d1a38191e7fa6f9edde43010ddbfc984b7c75 /tmk_core/protocol
parent8e2732edf3c457d98dd4526d88dad26786cb3db9 (diff)
downloadqmk_firmware-f0768f8be96fb7a9af354d5f1584b0f67cc5b960.tar.gz
qmk_firmware-f0768f8be96fb7a9af354d5f1584b0f67cc5b960.tar.xz
Forgot to use define in delay instead of hardcoded number
Diffstat (limited to 'tmk_core/protocol')
-rw-r--r--tmk_core/protocol/ps2_mouse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/protocol/ps2_mouse.c b/tmk_core/protocol/ps2_mouse.c
index 04c15dd4f..af971dd49 100644
--- a/tmk_core/protocol/ps2_mouse.c
+++ b/tmk_core/protocol/ps2_mouse.c
@@ -88,7 +88,7 @@ static inline void ps2_mouse_scroll_button_task(report_mouse_t *mouse_report);
void ps2_mouse_init(void) {
ps2_host_init();
- _delay_ms(1000); // wait for powering up
+ _delay_ms(PS2_MOUSE_INIT_DELAY); // wait for powering up
PS2_MOUSE_SEND(PS2_MOUSE_RESET, "ps2_mouse_init: sending reset");