bug: fix new issue with X19 "NoPic" on braiins.

This commit is contained in:
UpstreamData
2023-03-23 08:15:21 -06:00
parent a67e4ada8e
commit 1e03ec5fa3
2 changed files with 6 additions and 2 deletions

View File

@@ -735,6 +735,9 @@ class MinerFactory(metaclass=Singleton):
try:
if devdetails.get("DEVDETAILS"):
model = devdetails["DEVDETAILS"][0][_devdetails_key].upper()
if " NOPIC" in model:
# Braiins OS identifies some X19 differently
model = model.replace(" NOPIC", "")
if not model == "BITMICRO":
break
elif devdetails.get("DEVS"):