diff -r df50d7cb4dd0 -r ee1305f3a6bf src/BitArray.cpp --- a/src/BitArray.cpp Sat May 24 09:24:40 2014 +0200 +++ b/src/BitArray.cpp Tue May 27 17:49:33 2014 +0200 @@ -100,9 +100,9 @@ #define BIT_CHAR(bit) ((bit) / CHAR_BIT) /* array index for character containing bit */ -//SL: that for big endian? +//SL: We had to change that macro since bits in our frame buffer are the other way around +//TODO: Find a solution to tackle that problem //#define BIT_IN_CHAR(bit) (1 << (CHAR_BIT - 1 - ((bit) % CHAR_BIT))) -//SL: I guess we want little endian for our Futaba GP1212A01A #define BIT_IN_CHAR(bit) (1 << (((bit) % CHAR_BIT))) /* number of characters required to contain number of bits */