Skip to content

Commit 2a93c9a

Browse files
core: ArdupilotManager: fix wrong detection of x86
1 parent ad243b7 commit 2a93c9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/services/ardupilot_manager/typedefs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class SITLFrame(str, Enum):
6464
def get_sitl_platform_name(machine_arch: str) -> str:
6565
"""Get SITL platform name based on machine architecture."""
6666

67-
if "arm" not in machine_arch.lower():
67+
if "arm" not in machine_arch.lower() and "aarch" not in machine_arch.lower():
6868
return "SITL_x86_64_linux_gnu"
6969
return "SITL_arm_linux_gnueabihf"
7070

0 commit comments

Comments
 (0)