From d656aeb14fa8ce7bb453c8c7f34c6c9aab88312e Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Sat, 3 Oct 2015 17:26:23 +0200 Subject: [PATCH] FMUv1: Math exception hackery --- src/drivers/boards/px4fmu-v1/px4fmu_init.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/drivers/boards/px4fmu-v1/px4fmu_init.c b/src/drivers/boards/px4fmu-v1/px4fmu_init.c index 2b2b5ccd7a..b0e741017e 100644 --- a/src/drivers/boards/px4fmu-v1/px4fmu_init.c +++ b/src/drivers/boards/px4fmu-v1/px4fmu_init.c @@ -145,6 +145,7 @@ static struct spi_dev_s *spi3; #include +#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) {