AP_Bootloader: fix variable name for External flash support

This commit is contained in:
Siddharth Purohit 2021-06-02 23:26:58 +05:30 committed by Andrew Tridgell
parent 6e81fcbed1
commit edb590e055
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ def build(bld):
if not bld.env.BOOTLOADER:
return
if bld.env.EXTERNAL_FLASH_SUPPORT:
if bld.env.EXTERNAL_PROG_FLASH_MB:
flashiface_lib = ['AP_HAL', 'AP_FlashIface']
else:
flashiface_lib = []