mirror of https://github.com/ArduPilot/ardupilot
Merge from ArduPlane
This commit is contained in:
parent
813e3ad229
commit
7b2896c72b
|
@ -477,11 +477,22 @@
|
||||||
# define MOUNT ENABLED
|
# define MOUNT ENABLED
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined( __AVR_ATmega1280__ ) && MOUNT == ENABLED
|
#if defined( __AVR_ATmega1280__ ) && (MOUNT == ENABLED)
|
||||||
// The small ATmega1280 chip does not have enough memory for camera support
|
|
||||||
// so disable CLI, this will allow camera support and other improvements to fit.
|
// The small ATmega1280 chip does not have enough memory for mount support
|
||||||
|
// so disable CLI, this will allow mount support and other improvements to fit.
|
||||||
// This should almost have no side effects, because the APM planner can now do a complete board setup.
|
// This should almost have no side effects, because the APM planner can now do a complete board setup.
|
||||||
#define CLI_ENABLED DISABLED
|
# define CLI_ENABLED DISABLED
|
||||||
|
|
||||||
|
// The small ATmega1280 chip does not have enough memory for mount support
|
||||||
|
// so disable AUTO GPS support, this will allow mount support and other improvements to fit.
|
||||||
|
// This should almost have no side effects, because the most users use MTK anyways.
|
||||||
|
// If the user defined a GPS protocol, than we will NOT overwrite it
|
||||||
|
# if GPS_PROTOCOL == GPS_PROTOCOL_AUTO
|
||||||
|
# undef GPS_PROTOCOL
|
||||||
|
# define GPS_PROTOCOL GPS_PROTOCOL_MTK
|
||||||
|
# endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue