AP_HAL_ChibiOS: Fix python3 with F7 builds

This commit is contained in:
Michael du Breuil 2019-04-19 18:22:06 -07:00 committed by Andrew Tridgell
parent 8a5141f751
commit b0f4611ddc

View File

@ -152,7 +152,7 @@ def generate_DMAMUX_map_mask(peripheral_list, channel_mask, noshare_list, dma_ex
base = idx % 16
for i in range(16):
found = None
for ii in range(base,16) + range(0,base):
for ii in list(range(base,16)) + list(range(0,base)):
if (1<<ii) & available == 0:
continue