FMUv1: Math exception hackery

This commit is contained in:
Lorenz Meier 2015-10-03 17:26:23 +02:00
parent 1ab23739ad
commit d656aeb14f
1 changed files with 2 additions and 0 deletions

View File

@ -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)
{