emoryLayout() fix type (windows)
This commit is contained in:
parent
e7d6fb0086
commit
8d8ff5cfde
@ -508,7 +508,7 @@ function memLayout(callback) {
|
||||
result.push({
|
||||
size: parseInt(util.getValue(lines, 'Capacity', '='), 10) || 0,
|
||||
bank: util.getValue(lines, 'abel', '='), // BankLabel
|
||||
type: memoryTypes[parseInt(util.getValue(lines, 'MemoryType', '='), 10)],
|
||||
type: memoryTypes[parseInt(util.getValue(lines, 'MemoryType', '='), 10) || parseInt(util.getValue(lines, 'SMBIOSMemoryType', '='), 10)],
|
||||
ecc: dataWidth && totalWidth ? totalWidth > dataWidth : false,
|
||||
clockSpeed: parseInt(util.getValue(lines, 'ConfiguredClockSpeed', '='), 10) || parseInt(util.getValue(lines, 'Speed', '='), 10) || 0,
|
||||
formFactor: FormFactors[parseInt(util.getValue(lines, 'FormFactor', '='), 10) || 0],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user