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