Project

General

Profile

Revision 79

fully implemented state_machine & gesture

View differences:

utils.c
31 31
    #endif
32 32
    return SUCCESS;
33 33
}
34

  
35
int16_t abs16(int16_t x) {
36
    return (x >= 0) ? (int16_t)(x) : (int16_t)(-x);
37
}

Also available in: Unified diff