One more rotate version

Fabian Henze CC.Fan at
Tue Oct 21 22:33:49 CEST 2008

On 21.10.2008 at 22:26:41, Fabian Henze wrote:
> Hey guys,
> I have spend more time optimizing the code and fixing bugs of my previous
> release. So here are the changes compared with my previous version:
>  - Fixed a memleak
>  - Changed the angle, which is required to initiate a rotation from 22.5°
> to 15°
>  - Added a workaround for a bug in the input driver -> fewer false
> positives - Reduced CPU time even more (when in idle it consumes about 600%
> fewer CPU cycles compared Rui's version. Non-idle workloads are hard to
> measure but the usage should be _at_least_ equal)
>  - Achieved by introducing a hack, which might break if some parts of the
>    system are compiled with different cflags. So please report if it is not
>    working for you
>  - Uses exactly 760 byte RAM now.
>  - Added more comments
>  - It's actually usable now (imo)
>  - BUT: The "accelerometers stop working after a while" bug persists
>  - Sorry Rui, still no patch for your version
> I hope you enjoy it.

Whoops forgot the files.

P.S. @Rui: you google code link seems broken.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: accel-rotate-allyouneed.tar.bz2
Type: application/x-bzip-compressed-tar
Size: 9773 bytes
Desc: not available
Url : 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rotate.tar.bz2
Type: application/x-bzip-compressed-tar
Size: 7392 bytes
Desc: not available
Url : 

More information about the community mailing list