diff --git a/CHANGELOG.md b/CHANGELOG.md index 520e5ea..9937e68 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -83,6 +83,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page. | Version | Date | Comment | | ------- | ---------- | --------------------------------------------------------------------------------------------------- | +| 5.21.17 | 2023-11-09 | `system()` Raspberry Pi 5 name fix | | 5.21.16 | 2023-11-09 | `currentLoad()` improved parsing (linux) | | 5.21.15 | 2023-10-27 | `wifiConnections()` improved parsing (linux) | | 5.21.14 | 2023-10-26 | `execSync()` added explicit encoding (linux) | diff --git a/docs/history.html b/docs/history.html index 1a427c5..7f037e5 100644 --- a/docs/history.html +++ b/docs/history.html @@ -57,6 +57,11 @@ + + 5.21.17 + 2023-11-11 + system() Raspberry Pi 5 name fix + 5.21.16 2023-11-09 diff --git a/docs/index.html b/docs/index.html index 441dad6..0a37cf4 100644 --- a/docs/index.html +++ b/docs/index.html @@ -170,7 +170,7 @@
systeminformation
 
-
New Version: 5.21.16
+
New Version: 5.21.17
diff --git a/lib/util.js b/lib/util.js index fb949bb..a0c2d1a 100644 --- a/lib/util.js +++ b/lib/util.js @@ -993,7 +993,7 @@ function decodePiCpuinfo(lines) { '13': '400', '14': 'CM4', '15': 'CM4S', - '17': '5B', + '17': '5', }; const revisionCode = getValue(lines, 'revision', ':', true); @@ -1052,7 +1052,7 @@ function getRpiGpu() { const rpi = decodePiCpuinfo(cpuinfo); if (rpi.type === '4B' || rpi.type === 'CM4' || rpi.type === 'CM4S' || rpi.type === '400') { return 'VideoCore VI'; } - if (rpi.type === '5B') { return 'VideoCore VII'; } + if (rpi.type === '5') { return 'VideoCore VII'; } return 'VideoCore IV'; }