Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sebhildebrandt committed Nov 10, 2020
1 parent f4357e0 commit 5a4e222
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/cpu.js
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ function getCpu() {
const linesRpi = fs.readFileSync('/proc/cpuinfo').toString().split('\n');
const rPIRevision = util.decodePiCpuinfo(linesRpi);
if (rPIRevision.model.toLowerCase().indexOf('raspberry') >= 0) {
result.family = result.manufacturer
result.family = result.manufacturer;
result.manufacturer = rPIRevision.manufacturer;
result.brand = rPIRevision.processor;
result.revision = rPIRevision.revisionCode;
Expand Down
2 changes: 1 addition & 1 deletion lib/system.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function system(callback) {
processor: rPIRevision.processor,
type: rPIRevision.type,
revision: rPIRevision.revision
}
};
}

// if (result.model === 'BCM2835' || result.model === 'BCM2708' || result.model === 'BCM2709' || result.model === 'BCM2835' || result.model === 'BCM2837') {
Expand Down

0 comments on commit 5a4e222

Please sign in to comment.