Merge pull request #16 from althonos/patch-1
Fix GCC error when compiling in no-overflow mode
This commit is contained in:
commit
66365d5888
|
@ -115,7 +115,7 @@ fix16_t fix16_tan(fix16_t inAngle)
|
|||
{
|
||||
#ifndef FIXMATH_NO_OVERFLOW
|
||||
return fix16_sdiv(fix16_sin(inAngle), fix16_cos(inAngle));
|
||||
#elif
|
||||
#else
|
||||
return fix16_div(fix16_sin(inAngle), fix16_cos(inAngle));
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue