mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 16:48:29 -04:00
hwdef: fixed Pixhawk6X ALT_RAM_MAP check
This commit is contained in:
parent
c969578970
commit
5bd665370d
@ -709,7 +709,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
Block a user