Enable touchpad pins
This commit is contained in:
parent
7614873b19
commit
3fd37bd16a
@ -63,8 +63,8 @@ void gpio_init() {
|
|||||||
GPCRF1 = 0x44;
|
GPCRF1 = 0x44;
|
||||||
GPCRF2 = 0x84;
|
GPCRF2 = 0x84;
|
||||||
GPCRF3 = 0x44;
|
GPCRF3 = 0x44;
|
||||||
GPCRF4 = 0x80;
|
GPCRF4 = 0x00;
|
||||||
GPCRF5 = 0x80;
|
GPCRF5 = 0x00;
|
||||||
GPCRF6 = 0x00;
|
GPCRF6 = 0x00;
|
||||||
GPCRF7 = 0x80;
|
GPCRF7 = 0x80;
|
||||||
GPCRG0 = 0x44;
|
GPCRG0 = 0x44;
|
||||||
|
@ -371,7 +371,7 @@ void main(void) {
|
|||||||
ac_adapter();
|
ac_adapter();
|
||||||
power_button();
|
power_button();
|
||||||
kbscan_event();
|
kbscan_event();
|
||||||
//TODO: touchpad_event(&PS2_3);
|
touchpad_event(&PS2_3);
|
||||||
kbc_event(&KBC);
|
kbc_event(&KBC);
|
||||||
pmc_event(&PMC_1);
|
pmc_event(&PMC_1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user