mirror of https://github.com/ArduPilot/ardupilot
hwdef: fixed Pixhawk6X ALT_RAM_MAP check
This commit is contained in:
parent
3ffef61aec
commit
b1e3b9414b
|
@ -725,7 +725,7 @@ def get_ram_map():
|
|||
ram_map = get_mcu_config('RAM_MAP_EXTERNAL_FLASH', False)
|
||||
if ram_map is not None:
|
||||
return ram_map
|
||||
elif int(env_vars.get('USE_ALT_RAM_MAP',0)) == '1':
|
||||
elif int(env_vars.get('USE_ALT_RAM_MAP',0)) == 1:
|
||||
print("Using ALT_RAM_MAP")
|
||||
return get_mcu_config('ALT_RAM_MAP', True)
|
||||
return get_mcu_config('RAM_MAP', True)
|
||||
|
|
Loading…
Reference in New Issue