forked from Archive/PX4-Autopilot
FMUv1: Math exception hackery
This commit is contained in:
parent
1ab23739ad
commit
d656aeb14f
|
@ -145,6 +145,7 @@ static struct spi_dev_s *spi3;
|
|||
|
||||
#include <math.h>
|
||||
|
||||
#if 0
|
||||
#ifdef __cplusplus
|
||||
__EXPORT int matherr(struct __exception *e)
|
||||
{
|
||||
|
@ -156,6 +157,7 @@ __EXPORT int matherr(struct exception *e)
|
|||
return 1;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
__EXPORT int nsh_archinitialize(void)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue