MindPX: Code clean up.

This commit is contained in:
Henry Zhang
2016-10-29 10:56:32 +02:00
committed by Lorenz Meier
parent b280e28623
commit 278124bfb8
2 changed files with 0 additions and 37 deletions
@@ -146,22 +146,6 @@ static struct spi_dev_s *spi2;
static struct spi_dev_s *spi4;
static struct sdio_dev_s *sdio;
#include <math.h>
#if 0
#ifdef __cplusplus
__EXPORT int matherr(struct __exception *e)
{
return 1;
}
#else
__EXPORT int matherr(struct exception *e)
{
return 1;
}
#endif
#endif
__EXPORT int nsh_archinitialize(void)
{
/* configure ADC pins */
@@ -303,16 +287,5 @@ __EXPORT int nsh_archinitialize(void)
#endif
px4_arch_configgpio(GPIO_I2C2_SCL);
px4_arch_configgpio(GPIO_I2C2_SDA);
message("[boot] Initialized ext I2C Port\n");
px4_arch_configgpio(GPIO_I2C1_SCL);
px4_arch_configgpio(GPIO_I2C1_SDA);
message("[boot] Initialized onboard I2C Port\n");
return OK;
}