mirror of https://github.com/ArduPilot/ardupilot
waf: prevent warnings about OSD_ENABLED in build
This commit is contained in:
parent
64b54fd92a
commit
1b5e5de0d1
|
@ -398,7 +398,7 @@ class sitl(Board):
|
|||
cfg.fatal("Failed to find SFML libraries")
|
||||
|
||||
if cfg.options.sitl_osd:
|
||||
env.CXXFLAGS += ['-DWITH_SITL_OSD','-DOSD_ENABLED=ENABLED','-DHAL_HAVE_AP_ROMFS_EMBEDDED_H']
|
||||
env.CXXFLAGS += ['-DWITH_SITL_OSD','-DOSD_ENABLED=1','-DHAL_HAVE_AP_ROMFS_EMBEDDED_H']
|
||||
import fnmatch
|
||||
for f in os.listdir('libraries/AP_OSD/fonts'):
|
||||
if fnmatch.fnmatch(f, "font*bin"):
|
||||
|
|
Loading…
Reference in New Issue