1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-10 14:58:01 +00:00

Report USB nodev as ZOMBIE on the screen

This commit is contained in:
Kano 2013-01-31 23:18:12 +11:00
parent 3c91b292a2
commit 296eab26b4

View File

@ -2012,6 +2012,11 @@ static void curses_print_devstatus(int thr_id)
suffix_string(dh64, displayed_hashes, 4);
suffix_string(dr64, displayed_rolling, 4);
#if defined(USE_MODMINER) || defined(USE_BITFORCE)
if (cgpu->usbinfo.nodev)
wprintw(statuswin, "ZOMBIE");
else
#endif
if (cgpu->status == LIFE_DEAD)
wprintw(statuswin, "DEAD ");
else if (cgpu->status == LIFE_SICK)