Opps, I think you might have an extra logic in the integer findMode function...
The Float one looks right as ala42 provided it, but the integer version looks
like it's part new and part old code?
See
http://aeroquad.com/showthread.php?1814-Potential-issue-with-latest-git-version&
p=17791&viewfull=1#post17791
Alan
Original issue reported on code.google.com by akadam...@gmail.com on 20 Jan 2011 at 11:54
Original issue reported on code.google.com by
akadam...@gmail.com
on 20 Jan 2011 at 11:54