Skip to content

Commit

Permalink
#340 Added isRPi5 method
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Delporte committed Apr 15, 2024
1 parent 4ed7933 commit 1e28cbc
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ public static BoardInfo current() {
return instance.boardInfo;
}

public static boolean isRPi5() {
return instance.boardInfo.getBoardModel() == BoardModel.MODEL_5_B;
}

public static boolean is32bit() {
return !is64bit();
}
Expand Down

0 comments on commit 1e28cbc

Please sign in to comment.