Catch other boards in isRK3588 check (#2199)

This commit is contained in:
Michael Jansen
2025-11-22 18:50:51 -05:00
committed by GitHub
parent aa64bfe82e
commit 63593b873a

View File

@@ -128,7 +128,10 @@ public enum Platform {
}
public static boolean isRK3588() {
return Platform.isOrangePi() || Platform.isCoolPi4b() || Platform.isRock5C();
return Platform.isOrangePi()
|| Platform.isCoolPi4b()
|| Platform.isRock5C()
|| fileHasText("/proc/device-tree/compatible", "rk3588");
}
public static boolean isQCS6490() {