mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 09:58:28 -04:00
purple: added defines for APM hardware selection
we can now choose APM_HARDWARE_APM1 or APM_HARDWARE_PURPLE
This commit is contained in:
parent
395f43bee8
commit
910a94fcbe
@ -29,6 +29,9 @@
|
||||
#define SONAR 0
|
||||
#define BARO 1
|
||||
|
||||
#define SONAR_SOURCE_ADC 1
|
||||
#define SONAR_SOURCE_ANALOG_PIN 2
|
||||
|
||||
// CH 7 control
|
||||
#define CH7_DO_NOTHING 0
|
||||
#define CH7_SET_HOVER 1
|
||||
@ -353,4 +356,12 @@ enum gcs_severity {
|
||||
// mark a function as not to be inlined
|
||||
#define NOINLINE __attribute__((noinline))
|
||||
|
||||
// IMU selection
|
||||
#define CONFIG_IMU_OILPAN 1
|
||||
#define CONFIG_IMU_MPU6000 2
|
||||
|
||||
// APM Hardware selection
|
||||
#define APM_HARDWARE_APM1 1
|
||||
#define APM_HARDWARE_PURPLE 2
|
||||
|
||||
#endif // _DEFINES_H
|
||||
|
Loading…
Reference in New Issue
Block a user