qdot/emokit — pull request #27 by petrs (2012-07-25 20:53:43+00:00)
Title: Emokit@Raspberry Pi - more specific type of loop variable to prevent infinitive looping inside get_level()

Hi,
first of all - that you a lot for maintaining this useful package and improving it over time.

I just made Emokit running on Raspberry Pi (see howto if interested: https://github.com/petrs/emokit/wiki/EPOC-Emotiv-@-Raspberry-Pi), but there was one minor change necessary. On ARM platform, char is unsigned char contrary to other platforms where it usually compiles as signed char. Hence, loop inside get_level( ) function never ends on ARM. Explicitly specifying signed char helps.

Please consider to add this change so no need to edit core code for RPi is necessary.

Thank you,
PetrS