AP_HAL_ChibiOS: build fix for iomcu

This commit is contained in:
Andy Piper 2021-02-28 16:08:27 +00:00 committed by Andrew Tridgell
parent d0e4d510cf
commit 6cb263056d

View File

@ -255,7 +255,7 @@ def write_dma_header(f, peripheral_list, mcu_type, dma_exclude=[],
if hasattr(lib, "DMA_Map"):
dma_map = lib.DMA_Map
else:
return []
return [], []
except ImportError:
print("Unable to find module for MCU %s" % mcu_type)
sys.exit(1)