HAL_Linux: use default module directory

This commit is contained in:
Andrew Tridgell 2016-07-14 09:24:11 +10:00
parent f29323871f
commit dd5d0ffbad

View File

@ -246,12 +246,13 @@ void _usage(void)
printf("\t --terrain-directory /var/APM/terrain\n");
printf("\t -t /var/APM/terrain\n");
printf("\tmodule support:\n");
printf("\t --module-directory /etc/APM/modules\n");
printf("\t --module-directory %s\n", AP_MODULE_DEFAULT_DIRECTORY);
printf("\t -M %s\n", AP_MODULE_DEFAULT_DIRECTORY);
}
void HAL_Linux::run(int argc, char* const argv[], Callbacks* callbacks) const
{
const char *module_path = nullptr;
const char *module_path = AP_MODULE_DEFAULT_DIRECTORY;
assert(callbacks);