summaryrefslogtreecommitdiff
path: root/firmware/target/arm/s3c2440/gigabeat-fx/button-meg-fx.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/s3c2440/gigabeat-fx/button-meg-fx.c')
-rw-r--r--firmware/target/arm/s3c2440/gigabeat-fx/button-meg-fx.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/firmware/target/arm/s3c2440/gigabeat-fx/button-meg-fx.c b/firmware/target/arm/s3c2440/gigabeat-fx/button-meg-fx.c
index 55fdad1159..1d13a21b22 100644
--- a/firmware/target/arm/s3c2440/gigabeat-fx/button-meg-fx.c
+++ b/firmware/target/arm/s3c2440/gigabeat-fx/button-meg-fx.c
@@ -109,7 +109,6 @@ int button_read_device(void)
109 /* if the buttons dont agree twice in a row, then its none */ 109 /* if the buttons dont agree twice in a row, then its none */
110 lastbutton = btn; 110 lastbutton = btn;
111 btn = BUTTON_NONE; 111 btn = BUTTON_NONE;
112 buttonlight_on();
113 } 112 }
114 113
115 /* Check for hold first - exit if asserted with no button pressed */ 114 /* Check for hold first - exit if asserted with no button pressed */
@@ -121,7 +120,6 @@ int button_read_device(void)
121 if (buttons) 120 if (buttons)
122 { 121 {
123 btn |= buttons; 122 btn |= buttons;
124 buttonlight_on();
125 } 123 }
126 124
127 /* the touchpad - only watch the lines we actually read */ 125 /* the touchpad - only watch the lines we actually read */
@@ -152,7 +150,6 @@ int button_read_device(void)
152 if (touchpad & ((1 << 9) | (1 << 8) | (1 << 7))) 150 if (touchpad & ((1 << 9) | (1 << 8) | (1 << 7)))
153 btn |= BUTTON_LEFT; 151 btn |= BUTTON_LEFT;
154 152
155 buttonlight_on();
156 } 153 }
157 154
158 /* the cradle buttons */ 155 /* the cradle buttons */