mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-19 00:41:41 +00:00
Catch other boards in isRK3588 check (#2199)
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user