syntax error fix

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

View File

@@ -110,7 +110,6 @@ class GpuEntry extends CustEntry {
e.value = String(this.value) e.value = String(this.value)
} }
} }
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)",
@@ -205,12 +204,12 @@ 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 = [
@@ -249,6 +248,7 @@ var CustTable = [
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)