diff options
author | Ofer Plesser <plesserofer@gmail.com> | 2016-12-03 13:41:56 +0200 |
---|---|---|
committer | Ofer Plesser <plesserofer@gmail.com> | 2016-12-03 13:41:56 +0200 |
commit | f0768f8be96fb7a9af354d5f1584b0f67cc5b960 (patch) | |
tree | cb2d1a38191e7fa6f9edde43010ddbfc984b7c75 | |
parent | 8e2732edf3c457d98dd4526d88dad26786cb3db9 (diff) |
Forgot to use define in delay instead of hardcoded number
-rw-r--r-- | tmk_core/protocol/ps2_mouse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/protocol/ps2_mouse.c b/tmk_core/protocol/ps2_mouse.c index 04c15dd4fd..af971dd497 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"); |