Plane: disable the CLI if AFS failsafe enabled on APM2

the flash space is a bit too low for both CLI and AFS
This commit is contained in:
Andrew Tridgell 2014-09-24 11:02:11 +10:00
parent 41c576044f
commit 1fa03a49c9

View File

@ -494,6 +494,12 @@
#endif
#endif
#if OBC_FAILSAFE == ENABLED && HAL_CPU_CLASS < HAL_CPU_CLASS_75
#define CLI_ENABLED DISABLED
#endif
#ifndef SERIAL_BUFSIZE
# define SERIAL_BUFSIZE 512
#endif