Merge pull request #13 from althonos/patch-1
Fix missing function when building without overflow support
This commit is contained in:
commit
c3017d7d74
|
@ -113,7 +113,11 @@ fix16_t fix16_cos(fix16_t inAngle)
|
|||
|
||||
fix16_t fix16_tan(fix16_t inAngle)
|
||||
{
|
||||
#ifndef FIXMATH_NO_OVERFLOW
|
||||
return fix16_sdiv(fix16_sin(inAngle), fix16_cos(inAngle));
|
||||
#elif
|
||||
return fix16_div(fix16_sin(inAngle), fix16_cos(inAngle));
|
||||
#endif
|
||||
}
|
||||
|
||||
fix16_t fix16_asin(fix16_t x)
|
||||
|
|
Loading…
Reference in New Issue