1
0
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:
Kano 2012-04-18 21:01:42 +10:00
parent 39eeca263e
commit d5323b7c0c

View File

@ -310,7 +310,11 @@ function fmt($section, $name, $value)
if ($value != 'Alive')
$class = $errorclass;
break;
case 'GPU.Enabled':
case 'PGA.Enabled':
if ($value != 'Y')
$class = $warnclass;
break;
}
if ($section == 'NOTIFY' && substr($name, 0, 1) == '*' && $value != '0')