AP_HAL: ensure CONFIG_MAIN_WITHOUT_ARGC_ARGV is always defined

This commit is contained in:
Peter Barker 2016-01-21 11:44:46 +11:00 committed by Lucas De Marchi
parent ede7ffedfc
commit f0c165f0e4

View File

@ -5,6 +5,8 @@
#if CONFIG_HAL_BOARD == HAL_BOARD_FLYMAPLE
#define CONFIG_MAIN_WITHOUT_ARGC_ARGV 1
#else
#define CONFIG_MAIN_WITHOUT_ARGC_ARGV 0
#endif
#if CONFIG_HAL_BOARD == HAL_BOARD_PX4 || CONFIG_HAL_BOARD == HAL_BOARD_VRBRAIN