FMUv1: Math exception hackery

This commit is contained in:
Lorenz Meier
2015-10-03 17:26:23 +02:00
parent 1ab23739ad
commit d656aeb14f
@@ -145,6 +145,7 @@ static struct spi_dev_s *spi3;
#include <math.h> #include <math.h>
#if 0
#ifdef __cplusplus #ifdef __cplusplus
__EXPORT int matherr(struct __exception *e) __EXPORT int matherr(struct __exception *e)
{ {
@@ -156,6 +157,7 @@ __EXPORT int matherr(struct exception *e)
return 1; return 1;
} }
#endif #endif
#endif
__EXPORT int nsh_archinitialize(void) __EXPORT int nsh_archinitialize(void)
{ {