feat: wireview firmware check + DFU flash, fault clearing, pin-imbalance gauge #19
@@ -337,11 +337,11 @@ export function WireViewPanel({ info, sample, history, flash }: Props) {
|
||||
max={13}
|
||||
/>
|
||||
<GaugeCard
|
||||
label="Fan Duty"
|
||||
value={fmt.pct(sample.fan_duty_pct)}
|
||||
history={pluck(history, "fan_duty_pct")}
|
||||
color="#fb923c"
|
||||
max={100}
|
||||
label="Pin Imbalance"
|
||||
value={`${sample.pin_imbalance_a.toFixed(2)} A`}
|
||||
history={pluck(history, "pin_imbalance_a")}
|
||||
color="#fbbf24"
|
||||
max={4}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -369,7 +369,7 @@ export function WireViewPanel({ info, sample, history, flash }: Props) {
|
||||
<div className="text-xs text-zinc-500 uppercase tracking-wider font-semibold pb-3 border-b border-zinc-800">
|
||||
Temperatures
|
||||
</div>
|
||||
<div className="grid grid-cols-2 md:grid-cols-4 gap-3 mt-3">
|
||||
<div className="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-3 mt-3">
|
||||
<GaugeCard
|
||||
label="Temp In"
|
||||
value={fmt.celsius(sample.temp_in_c, 1)}
|
||||
@@ -398,6 +398,13 @@ export function WireViewPanel({ info, sample, history, flash }: Props) {
|
||||
color="#a78bfa"
|
||||
max={90}
|
||||
/>
|
||||
<GaugeCard
|
||||
label="Fan Duty"
|
||||
value={fmt.pct(sample.fan_duty_pct)}
|
||||
history={pluck(history, "fan_duty_pct")}
|
||||
color="#fb923c"
|
||||
max={100}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in new issue
Block a user