Skip to content

Commit

Permalink
Fixed LED support for m1/m2/m3/mr
Browse files Browse the repository at this point in the history
  • Loading branch information
martynsmith committed Jan 29, 2011
1 parent 1547291 commit fd25b88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hid-g110.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ static void g110_led_set(struct led_classdev *led_cdev,
/* Get the underlying data value */
data = hid_get_g110data(hdev);

mask = 0x80>>led_num;
mask = 0x01<<led_num;
if (value)
data->led |= mask;
else
Expand Down

0 comments on commit fd25b88

Please sign in to comment.