[PATCH 1/2] fix-gta02_lis302dl_bitbang.patch

Andy Green andy at openmoko.com
Sat Nov 15 08:30:21 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:
| Make accelerometers work again in stable-tracking.
| They stopped working with a previous commit.
|
| (shifter >> 7) & 1); ...; shifter <<= 1;
|   Had been changed to:
| (shifter >> (7 - n)) & 1) /* assuming tx_bytes == 1 */
|
| The problem: an unneeded shifter <<= 1 was still there.
|
| We make a small change to the indexing code to make things work again.

Good work Nelson!

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkkeeo0ACgkQOjLpvpq7dMrtmwCePtO7TM3MqO5Tk1n7AeXPWjdO
D8kAniMjZp4cDAwmy0VaMwYQvQAcCa/L
=8T+r
-----END PGP SIGNATURE-----



More information about the openmoko-kernel mailing list