mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-22 12:34:27 +00:00
miner.php highlight any device that isn't 'Enabled'
This commit is contained in:
parent
39eeca263e
commit
d5323b7c0c
@ -310,7 +310,11 @@ function fmt($section, $name, $value)
|
|||||||
if ($value != 'Alive')
|
if ($value != 'Alive')
|
||||||
$class = $errorclass;
|
$class = $errorclass;
|
||||||
break;
|
break;
|
||||||
|
case 'GPU.Enabled':
|
||||||
|
case 'PGA.Enabled':
|
||||||
|
if ($value != 'Y')
|
||||||
|
$class = $warnclass;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($section == 'NOTIFY' && substr($name, 0, 1) == '*' && $value != '0')
|
if ($section == 'NOTIFY' && substr($name, 0, 1) == '*' && $value != '0')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user