diff options
author | tmk <nobody@nowhere> | 2013-11-18 19:25:31 +0100 |
---|---|---|
committer | tmk <nobody@nowhere> | 2013-11-18 19:25:31 +0100 |
commit | 44d2d5f5fda3fbdf73e311067807026bb53798c0 (patch) | |
tree | 3a28a78f92f24adf713f8ad20951727c72e9cad7 | |
parent | 9d40be19908394e44cdda5d3c73d21e8d3795e72 (diff) | |
download | qmk_firmware-44d2d5f5fda3fbdf73e311067807026bb53798c0.tar.gz qmk_firmware-44d2d5f5fda3fbdf73e311067807026bb53798c0.tar.xz |
Fix delay of PS/2 mouse init
-rw-r--r-- | protocol/ps2_mouse.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/protocol/ps2_mouse.c b/protocol/ps2_mouse.c index 701d97213..5e0b3657c 100644 --- a/protocol/ps2_mouse.c +++ b/protocol/ps2_mouse.c @@ -49,16 +49,14 @@ uint8_t ps2_mouse_init(void) { ps2_host_init(); - // Not reliable: sometime fail to initialize mouse + _delay_ms(1000); // wait for powering up // send Reset - _delay_ms(1000); // wait for powering up rcv = ps2_host_send(0xFF); print("ps2_mouse_init: send Reset: "); phex(rcv); phex(ps2_error); print("\n"); // read completion code of BAT - //_delay_ms(1000); // wait for Basic Assurance Test rcv = ps2_host_recv(); print("ps2_mouse_init: read BAT: "); phex(rcv); phex(ps2_error); print("\n"); |