On 2012-12-04 17:29, Petar Jovanovic wrote: > rs5_0 = (int8_t)(rs5_0 << 2) >> 2;
This is more portably written as rs5_0 = (rs5_0 ^ 0x20) - 0x20; r~
On 2012-12-04 17:29, Petar Jovanovic wrote: > rs5_0 = (int8_t)(rs5_0 << 2) >> 2;
This is more portably written as rs5_0 = (rs5_0 ^ 0x20) - 0x20; r~