system() added Raspberry 500 detection

This commit is contained in:
Sebastian Hildebrandt 2024-12-10 05:52:04 +01:00
parent efcb478420
commit dc6474fe84
4 changed files with 10 additions and 4 deletions

View File

@ -90,6 +90,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
| Version | Date | Comment |
| ------- | ---------- | --------------------------------------------------------------------------------------------------- |
| 5.23.8 | 2024-12-10 | `system()` added Raspberry 500 detection |
| 5.23.7 | 2024-12-09 | `networkInterfaces()` sanitizing SSID names (windows) |
| 5.23.6 | 2024-12-08 | `system()` added Raspberry CM5 detection |
| 5.23.5 | 2024-08-21 | `processLoad()` fixed * process list (linux) |

View File

@ -57,6 +57,11 @@
</tr>
</thead>
<tbody>
<tr>
<th scope="row">5.23.8</th>
<td>2024-12-10</td>
<td><span class="code">system()</span> added Raspberry 500 detection</td>
</tr>
<tr>
<th scope="row">5.23.7</th>
<td>2024-12-09</td>

View File

@ -170,7 +170,7 @@
<img class="logo" src="assets/logo.png" alt="logo">
<div class="title">systeminformation</div>
<div class="subtitle"><span id="typed"></span>&nbsp;</div>
<div class="version">New Version: <span id="version">5.23.7</span></div>
<div class="version">New Version: <span id="version">5.23.8</span></div>
<button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button>
</div>
<div class="down">

View File

@ -1020,9 +1020,9 @@ function decodePiCpuinfo(lines) {
'15': 'CM4S',
'16': 'Internal use only',
'17': '5',
'18': 'CM5 (EMMC)',
'19': 'Internal use only',
'1a': 'CM5 (Lite)',
'18': 'CM5',
'19': '500',
'1a': 'CM5 Lite',
};
const revisionCode = getValue(lines, 'revision', ':', true);