diff options
Diffstat (limited to 'firmware/target/arm/pbell/vibe500/power-vibe500.c')
-rw-r--r-- | firmware/target/arm/pbell/vibe500/power-vibe500.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/target/arm/pbell/vibe500/power-vibe500.c b/firmware/target/arm/pbell/vibe500/power-vibe500.c index b345a9b5d0..a5660d7e73 100644 --- a/firmware/target/arm/pbell/vibe500/power-vibe500.c +++ b/firmware/target/arm/pbell/vibe500/power-vibe500.c | |||
@@ -49,14 +49,14 @@ void power_init(void) | |||
49 | /* Max touch sensivity = 0x77, Rate=80/s,NoFilter=0, | 49 | /* Max touch sensivity = 0x77, Rate=80/s,NoFilter=0, |
50 | KeyMatrix=0,Buttons=1,Relative=0,Absolute=1. | 50 | KeyMatrix=0,Buttons=1,Relative=0,Absolute=1. |
51 | MEP parameter 0x20 - Report Modes */ | 51 | MEP parameter 0x20 - Report Modes */ |
52 | touchpad_set_parameter(0x20,0x7785); | 52 | touchpad_set_parameter(0,0x20,0x7785); |
53 | /* MinAbsReporting=0, NotAllCapButtons=0,SingleCapButton=0, | 53 | /* MinAbsReporting=0, NotAllCapButtons=0,SingleCapButton=0, |
54 | 50msDebounce=0,MotionReporting=1 (reduce transmission overhead), | 54 | 50msDebounce=0,MotionReporting=1 (reduce transmission overhead), |
55 | ClipZifnoFinger=0,DisableDeceleration=0,Dribble=0. | 55 | ClipZifnoFinger=0,DisableDeceleration=0,Dribble=0. |
56 | MEP parameter 0x21 - Enhanced Operating Configuration */ | 56 | MEP parameter 0x21 - Enhanced Operating Configuration */ |
57 | touchpad_set_parameter(0x21,0x0008); | 57 | touchpad_set_parameter(0,0x21,0x0008); |
58 | /* Set the GPO_LEVELS = 0 - for the button lights */ | 58 | /* Set the GPO_LEVELS = 0 - for the button lights */ |
59 | touchpad_set_parameter(0x23,0x0000); | 59 | touchpad_set_parameter(0,0x23,0x0000); |
60 | 60 | ||
61 | /* Sound unmute (on) */ | 61 | /* Sound unmute (on) */ |
62 | GPIO_CLEAR_BITWISE(GPIOL_OUTPUT_VAL, 0x10); | 62 | GPIO_CLEAR_BITWISE(GPIOL_OUTPUT_VAL, 0x10); |
@@ -100,7 +100,7 @@ void power_off(void) | |||
100 | /* shutdown bit */ | 100 | /* shutdown bit */ |
101 | GPIO_CLEAR_BITWISE(GPIOB_OUTPUT_VAL, 0x80); | 101 | GPIO_CLEAR_BITWISE(GPIOB_OUTPUT_VAL, 0x80); |
102 | /* button lights off */ | 102 | /* button lights off */ |
103 | touchpad_set_parameter(0x22,0x0000); | 103 | touchpad_set_parameter(0,0x22,0x0000); |
104 | /* ATA power off */ | 104 | /* ATA power off */ |
105 | ide_power_enable(false); | 105 | ide_power_enable(false); |
106 | /* ? - in the OF */ | 106 | /* ? - in the OF */ |