summaryrefslogtreecommitdiff
path: root/ps2_mouse.c
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2011-02-10 15:51:30 +0900
committertmk <nobody@nowhere>2011-02-22 03:09:02 +0900
commit2b8cd88ab142068eed0a3f230a3de79deb567536 (patch)
treece62861e44d57791ff43391d841ea125ce319754 /ps2_mouse.c
parentacc974c64b1e17e6807133fdc50de5bb34aedda5 (diff)
refactor keyboard.h, host.h
Diffstat (limited to 'ps2_mouse.c')
-rw-r--r--ps2_mouse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ps2_mouse.c b/ps2_mouse.c
index 7ff9882462..d6db090260 100644
--- a/ps2_mouse.c
+++ b/ps2_mouse.c
@@ -50,6 +50,8 @@ uint8_t ps2_mouse_init(void) {
if (!ps2_mouse_enable) return 1;
+ ps2_host_init();
+
// Reset
rcv = ps2_host_send(0xFF);
print("ps2_mouse_init: send 0xFF: ");