I assume you mean to subtract the two for the ssub function...

This commit is contained in:
joe.schaack 2011-03-02 19:56:20 +00:00
parent e8ab51042b
commit 88b4ee4c0e
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ extern fix16_t fix16_sadd(fix16_t inArg0, fix16_t inArg1);
static inline fix16_t fix16_sub(fix16_t inArg0, fix16_t inArg1) { return (inArg0 - inArg1); }
static inline fix16_t fix16_ssub(fix16_t inArg0, fix16_t inArg1) { return fix16_sadd(inArg0, inArg1);}
static inline fix16_t fix16_ssub(fix16_t inArg0, fix16_t inArg1) { return fix16_sadd(inArg0, -inArg1);}