mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-19 20:29:05 +08:00
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…
x
Reference in New Issue
Block a user