26 Jan, 2015

1 commit

  • data->temp[index] has type s16. Because of C's promotion rules,
    (data->temp[index] << 7) >> 7 is exactly the same as
    data->temp[index]. The intention was to use bit 8 as a sign bit, so do
    that using the existing API.

    Signed-off-by: Rasmus Villemoes
    Signed-off-by: Guenter Roeck

    Rasmus Villemoes
     

08 Jul, 2014

1 commit


04 Mar, 2014

1 commit