Ensure ps2 interface is always in correct state
This commit is contained in:
@ -1,12 +1,7 @@
|
||||
#include <board/ps2.h>
|
||||
|
||||
void ps2_init(void) {
|
||||
*(PS2_1.control) = 0x11;
|
||||
*(PS2_1.interrupt) = 0x04;
|
||||
|
||||
*(PS2_2.control) = 0x41;
|
||||
*(PS2_2.interrupt) = 0x04;
|
||||
|
||||
*(PS2_3.control) = 0x41;
|
||||
*(PS2_3.interrupt) = 0x04;
|
||||
ps2_reset(&PS2_1);
|
||||
ps2_reset(&PS2_2);
|
||||
ps2_reset(&PS2_3);
|
||||
}
|
||||
|
Reference in New Issue
Block a user