Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323465
b: refs/heads/master
c: a2f6e4e
h: refs/heads/master
i:
  323463: 1f6cf4e
v: v3
  • Loading branch information
Florian Echtler authored and Jiri Kosina committed Sep 18, 2012
1 parent 2f1c47d commit 91d6443
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3155a09fd5060190eea4f2585d55d6c5431837c4
refs/heads/master: a2f6e4e009f13097acafd09cccf274fb5869dde2
3 changes: 2 additions & 1 deletion trunk/drivers/hid/hid-wiimote-ext.c
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,8 @@ static void handler_balance_board(struct wiimote_ext *ext, const __u8 *payload)
} else {
tmp = val[i] - ext->calib[i][1];
tmp *= 1700;
tmp /= ext->calib[i][2] - ext->calib[i][1] + 1700;
tmp /= ext->calib[i][2] - ext->calib[i][1];
tmp += 1700;
}
val[i] = tmp;
}
Expand Down

0 comments on commit 91d6443

Please sign in to comment.