bab - ensure disabled chips are counted in the screen dead chip counter
diff --git a/driver-bab.c b/driver-bab.c
index 60cbddf..a5ed3ad 100644
--- a/driver-bab.c
+++ b/driver-bab.c
@@ -2979,8 +2979,9 @@ static void bab_get_statline_before(char *buf, size_t bufsiz, struct cgpu_info *
if (elapsed > 15.0) {
K_RLOCK(babinfo->nfree_list);
for (i = 0; i < babinfo->chips; i++) {
- if (babinfo->good_nonces[i]->count == 0 &&
- babinfo->bad_nonces[i]->count > 1)
+ if (babinfo->disabled[i] ||
+ (babinfo->good_nonces[i]->count == 0 &&
+ babinfo->bad_nonces[i]->count > 1))
dead++;
}
K_RUNLOCK(babinfo->nfree_list);