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 /tmk_core | |
| parent | 8e2732edf3c457d98dd4526d88dad26786cb3db9 (diff) | |
| download | qmk_firmware-f0768f8be96fb7a9af354d5f1584b0f67cc5b960.tar.gz qmk_firmware-f0768f8be96fb7a9af354d5f1584b0f67cc5b960.zip | |
Forgot to use define in delay instead of hardcoded number
Diffstat (limited to 'tmk_core')
| -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 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); | |||
| 88 | void ps2_mouse_init(void) { | 88 | void ps2_mouse_init(void) { |
| 89 | ps2_host_init(); | 89 | ps2_host_init(); |
| 90 | 90 | ||
| 91 | _delay_ms(1000); // wait for powering up | 91 | _delay_ms(PS2_MOUSE_INIT_DELAY); // wait for powering up |
| 92 | 92 | ||
| 93 | PS2_MOUSE_SEND(PS2_MOUSE_RESET, "ps2_mouse_init: sending reset"); | 93 | PS2_MOUSE_SEND(PS2_MOUSE_RESET, "ps2_mouse_init: sending reset"); |
| 94 | 94 | ||
