syntax error fix

This commit is contained in:
souldbminersmwc
2025-09-01 16:16:07 -04:00
parent 5ad10d1faa
commit f766bd616c

View File

@@ -111,7 +111,6 @@ class GpuEntry extends CustEntry {
} }
} }
var CustTable = [ var CustTable = [
var CustTable = [
new CustEntry("mtcConf", "DRAM Timing", CustPlatform.All, 4, [ new CustEntry("mtcConf", "DRAM Timing", CustPlatform.All, 4, [
"<b>0</b>: AUTO_ADJ_ALL: Auto adjust mtc table with LPDDR4 3733 Mbps specs, 8Gb density. Change timing with Advanced Config (Default)", "<b>0</b>: AUTO_ADJ_ALL: Auto adjust mtc table with LPDDR4 3733 Mbps specs, 8Gb density. Change timing with Advanced Config (Default)",
"<b>1</b>: CUSTOM_ADJ_ALL: Adjust only non-zero preset timings in Advanced Config", "<b>1</b>: CUSTOM_ADJ_ALL: Adjust only non-zero preset timings in Advanced Config",
@@ -205,15 +204,15 @@ var CustTable = [
new CustEntry("cpuMaxFreq", "Maximum allowed CPU Frequency", CustPlatform.All, 4, [ new CustEntry("cpuMaxFreq", "Maximum allowed CPU Frequency", CustPlatform.All, 4, [
"Default: 1963500", "Default: 1963500",
"This is the maximum frequency for the CPU you can set in sys-clk-ocs2." "This is the maximum frequency for the CPU you can set in sys-clk-ocs2."
], 1963500, [1020000, 2907000], 1, !1), ], 1963500, [306000, 2907000], 1, !1),
new CustEntry("gpuMaxFreq", "Maximum allowed GPU Frequency", CustPlatform.All, 4, [ new CustEntry("gpuMaxFreq", "Maximum allowed GPU Frequency", CustPlatform.All, 4, [
"Default: 1267200", "Default: 1267200",
"This is the maximum frequency for the GPU you can set in sys-clk-ocs2." "This is the maximum frequency for the GPU you can set in sys-clk-ocs2."
], 1267200, [1075200, 1305600], 1, !1), ], 1267200, [76800, 1305600], 1, !1),
]; ];
var AdvTable = [ var AdvTable = [
new AdvEntry("marikoEmcDvbShift", "Step up Mariko EMC DVB Table", CustPlatform.Mariko, 4, [ new AdvEntry("marikoEmcDvbShift", "Step up Mariko EMC DVB Table", CustPlatform.Mariko, 4, [
"Each number adds 25mV to SoC voltage", "Each number adds 25mV to SoC voltage",
"Helps with stability at higher memory clock", "Helps with stability at higher memory clock",
@@ -227,9 +226,9 @@ var CustTable = [
new AdvEntry("ramTimingPresetFive", "Secondary RAM Timing Preset", CustPlatform.Mariko, 4, [...], 1, [0, 6], 1), new AdvEntry("ramTimingPresetFive", "Secondary RAM Timing Preset", CustPlatform.Mariko, 4, [...], 1, [0, 6], 1),
new AdvEntry("ramTimingPresetSix", "Tertiary RAM Timing Preset", CustPlatform.Mariko, 4, [...], 1, [0, 5], 1), new AdvEntry("ramTimingPresetSix", "Tertiary RAM Timing Preset", CustPlatform.Mariko, 4, [...], 1, [0, 5], 1),
new AdvEntry("ramTimingPresetSeven", "Latency Decrement", CustPlatform.Mariko, 4, [...], 0, [0, 6], 1), new AdvEntry("ramTimingPresetSeven", "Latency Decrement", CustPlatform.Mariko, 4, [...], 0, [0, 6], 1),
]; ];
var GpuTable = [ var GpuTable = [
new GpuEntry("0", "76.8"), new GpuEntry("0", "76.8"),
new GpuEntry("1", "153.6"), new GpuEntry("1", "153.6"),
new GpuEntry("2", "230.4"), new GpuEntry("2", "230.4"),
@@ -248,7 +247,8 @@ var CustTable = [
new GpuEntry("15", "1228.8"), new GpuEntry("15", "1228.8"),
new GpuEntry("16", "1267.2"), new GpuEntry("16", "1267.2"),
new GpuEntry("17", "1305.6") new GpuEntry("17", "1305.6")
]; ];
class ErrorToolTip { class ErrorToolTip {
constructor(e, t) { constructor(e, t) {
this.id = e, this.msg = t, this.id = e, this.element = document.getElementById(e), t && this.setMsg(t) this.id = e, this.msg = t, this.id = e, this.element = document.getElementById(e), t && this.setMsg(t)