Skip to content

Commit

Permalink
Try to load armv6 before armv7
Browse files Browse the repository at this point in the history
  • Loading branch information
hedgecrw committed Jul 8, 2023
1 parent ed468f6 commit 39d54c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/fazecast/jSerialComm/SerialPort.java
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,9 @@ else if ((OS.contains("nix")) || (OS.contains("nux")))
if (!System.getProperty("os.arch_full", "").isEmpty())
architectures = new String[] { System.getProperty("os.arch_full").toLowerCase() };
else if (arch.contains("86") || arch.contains("amd"))
architectures = new String[] { "x86_64", "x86", "armv5", "armv7hf", "armv6hf", "armv8_64", "armv8_32", "ppc64le" };
architectures = new String[] { "x86_64", "x86", "armv5", "armv6hf", "armv7hf", "armv8_64", "armv8_32", "ppc64le" };
else
architectures = new String[] { "armv5", "armv7hf", "armv6hf", "armv8_64", "x86_64", "armv8_32", "ppc64le", "x86" };
architectures = new String[] { "armv5", "armv6hf", "armv7hf", "armv8_64", "x86_64", "armv8_32", "ppc64le", "x86" };
}
else
{
Expand Down

0 comments on commit 39d54c4

Please sign in to comment.