HAL_ChibiOS: fixed build for EMPTY uarts
this fixes NucleoH743 build
This commit is contained in:
parent
2d7076fd39
commit
98849a3998
@ -1503,7 +1503,7 @@ def write_UART_config(f):
|
||||
# write config for CrashCatcher UART
|
||||
if not uart_list[0].startswith('OTG') and not uart_list[0].startswith('EMPTY'):
|
||||
crash_uart = uart_list[0]
|
||||
elif not uart_list[2].startswith('OTG') and not uart_list[0].startswith('EMPTY'):
|
||||
elif not uart_list[2].startswith('OTG') and not uart_list[2].startswith('EMPTY'):
|
||||
crash_uart = uart_list[2]
|
||||
|
||||
if crash_uart is not None and get_config('FLASH_SIZE_KB', type=int) >= 2048:
|
||||
|
Loading…
Reference in New Issue
Block a user