mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-10 23:08:07 +00:00
Report USB nodev as ZOMBIE on the screen
This commit is contained in:
parent
3c91b292a2
commit
296eab26b4
@ -2012,6 +2012,11 @@ static void curses_print_devstatus(int thr_id)
|
|||||||
suffix_string(dh64, displayed_hashes, 4);
|
suffix_string(dh64, displayed_hashes, 4);
|
||||||
suffix_string(dr64, displayed_rolling, 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)
|
if (cgpu->status == LIFE_DEAD)
|
||||||
wprintw(statuswin, "DEAD ");
|
wprintw(statuswin, "DEAD ");
|
||||||
else if (cgpu->status == LIFE_SICK)
|
else if (cgpu->status == LIFE_SICK)
|
||||||
|
Loading…
Reference in New Issue
Block a user