Skip to content

Commit

Permalink
treehouses detect for Pi 400 (fixes #2251) (#2255)
Browse files Browse the repository at this point in the history
  • Loading branch information
dogi authored Nov 1, 2021
1 parent 9af9f72 commit 0244155
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion modules/detect.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ function detectrpi {
rpimodels["c03112"]="RPI4B" # 4gb
rpimodels["c03114"]="RPI4B" # 4gb
rpimodels["d03114"]="RPI4B" # 8gb
# more at: https://www.raspberrypi.org/documentation/hardware/raspberrypi/revision-codes/README.md
rpimodels["c03130"]="RPI400" # 4gb
# more at: https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#new-style-revision-codes-in-use

rpimodel=$(grep Revision /proc/cpuinfo | sed 's/.* //g' | tr -d '\n')

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@treehouses/cli",
"version": "1.26.0",
"version": "1.26.1",
"remote": "4000",
"description": "Thin command-line interface for Raspberry Pi low level configuration.",
"main": "cli.sh",
Expand Down

0 comments on commit 0244155

Please sign in to comment.