From: Ofer Plesser Date: Sat, 3 Dec 2016 11:41:56 +0000 (+0200) Subject: Forgot to use define in delay instead of hardcoded number X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=f0768f8be96fb7a9af354d5f1584b0f67cc5b960;p=qmk_firmware.git Forgot to use define in delay instead of hardcoded number --- 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");