mirror of https://github.com/ArduPilot/ardupilot
hwdef: enable ROMFS if we have a defaults filepath to embed
This commit is contained in:
parent
1d6f1b9d8f
commit
e958e7b720
|
@ -2591,6 +2591,7 @@ Please run: Tools/scripts/build_bootloaders.py %s
|
|||
|
||||
if os.path.exists(self.processed_defaults_filepath()):
|
||||
self.write_define(f, 'AP_PARAM_DEFAULTS_FILE_PARSING_ENABLED', 1)
|
||||
self.write_define(f, 'AP_FILESYSTEM_ROMFS_ENABLED', 1)
|
||||
else:
|
||||
self.write_define(f, 'AP_PARAM_DEFAULTS_FILE_PARSING_ENABLED', 0)
|
||||
|
||||
|
|
Loading…
Reference in New Issue