Merge pull request #16 from althonos/patch-1

Fix GCC error when compiling in no-overflow mode
This commit is contained in:
Petteri Aimonen 2020-03-15 06:53:22 +02:00 committed by GitHub
commit 66365d5888
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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
}