AP_Common: remove support for flymaple

This commit is contained in:
Lucas De Marchi 2016-05-23 09:50:58 -03:00
parent e448f161d2
commit 7703e5f1d1
2 changed files with 0 additions and 21 deletions

View File

@ -131,7 +131,6 @@ enum HomeState {
#define AP_PRODUCT_ID_PX4 0x04 // PX4 on NuttX #define AP_PRODUCT_ID_PX4 0x04 // PX4 on NuttX
#define AP_PRODUCT_ID_PX4_V2 0x05 // PX4 FMU2 on NuttX #define AP_PRODUCT_ID_PX4_V2 0x05 // PX4 FMU2 on NuttX
#define AP_PRODUCT_ID_PX4_V4 0x06 // PX4 FMU4 on NuttX #define AP_PRODUCT_ID_PX4_V4 0x06 // PX4 FMU4 on NuttX
#define AP_PRODUCT_ID_FLYMAPLE 0x100 // Flymaple with ITG3205, ADXL345, HMC5883, BMP085
#define AP_PRODUCT_ID_L3G4200D 0x101 // Linux with L3G4200D and ADXL345 #define AP_PRODUCT_ID_L3G4200D 0x101 // Linux with L3G4200D and ADXL345
#define AP_PRODUCT_ID_PIXHAWK_FIRE_CAPE 0x102 // Linux with the PixHawk Fire Cape #define AP_PRODUCT_ID_PIXHAWK_FIRE_CAPE 0x102 // Linux with the PixHawk Fire Cape
#define AP_PRODUCT_ID_MPU9250 0x103 // MPU9250 #define AP_PRODUCT_ID_MPU9250 0x103 // MPU9250

View File

@ -38,23 +38,3 @@ void operator delete[](void * ptr)
{ {
if (ptr) free(ptr); if (ptr) free(ptr);
} }
#if CONFIG_HAL_BOARD == HAL_BOARD_FLYMAPLE
__extension__ typedef int __guard __attribute__((mode (__DI__)));
int __cxa_guard_acquire(__guard *g)
{
return !*(char *)(g);
};
void __cxa_guard_release (__guard *g){
*(char *)g = 1;
};
void __cxa_guard_abort (__guard *) {
};
#endif // CONFIG_HAL_BOARD