diff options
Diffstat (limited to 'firmware/target/arm/pbell/vibe500/backlight-vibe500.c')
-rw-r--r-- | firmware/target/arm/pbell/vibe500/backlight-vibe500.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/arm/pbell/vibe500/backlight-vibe500.c b/firmware/target/arm/pbell/vibe500/backlight-vibe500.c index 321484cd9a..ab71012bdb 100644 --- a/firmware/target/arm/pbell/vibe500/backlight-vibe500.c +++ b/firmware/target/arm/pbell/vibe500/backlight-vibe500.c | |||
@@ -64,7 +64,7 @@ void _buttonlight_on(void) | |||
64 | { | 64 | { |
65 | if (!buttonlight_status) | 65 | if (!buttonlight_status) |
66 | { | 66 | { |
67 | touchpad_set_parameter(0x22, 0x000f); /* 0x22 - GPO_ENABLE */ | 67 | touchpad_set_parameter(0, 0x22, 0x000f); /* 0x22 - GPO_ENABLE */ |
68 | buttonlight_status = 1; | 68 | buttonlight_status = 1; |
69 | } | 69 | } |
70 | } | 70 | } |
@@ -73,7 +73,7 @@ void _buttonlight_off(void) | |||
73 | { | 73 | { |
74 | if (buttonlight_status) | 74 | if (buttonlight_status) |
75 | { | 75 | { |
76 | touchpad_set_parameter(0x22, 0x0000); /* 0x22 - GPO_ENABLE */ | 76 | touchpad_set_parameter(0, 0x22, 0x0000); /* 0x22 - GPO_ENABLE */ |
77 | buttonlight_status = 0; | 77 | buttonlight_status = 0; |
78 | } | 78 | } |
79 | } | 79 | } |
@@ -82,7 +82,7 @@ void _buttonlight_set_brightness(int brightness) | |||
82 | { | 82 | { |
83 | /* no brightness control, but lights stays on - for compatibility */ | 83 | /* no brightness control, but lights stays on - for compatibility */ |
84 | (void)brightness; | 84 | (void)brightness; |
85 | touchpad_set_parameter(0x22, 0x000f); /* 0x22 - GPO_ENABLE */ | 85 | touchpad_set_parameter(0, 0x22, 0x000f); /* 0x22 - GPO_ENABLE */ |
86 | buttonlight_status = 1; | 86 | buttonlight_status = 1; |
87 | } | 87 | } |
88 | #endif | 88 | #endif |