finish adding support for a bunch of new avalonminers

This commit is contained in:
UpstreamData
2022-06-09 14:38:51 -06:00
parent 078579d8e1
commit f7309decdb
7 changed files with 78 additions and 22 deletions

View File

@@ -196,7 +196,7 @@ class CGMinerAvalon841(CGMiner, Avalon841):
mac = await self.get_mac()
if mac:
data.mac = mac
if hostname and not hostname == "?":
if hostname:
data.hostname = hostname
elif mac:
data.hostname = f"Avalon{mac.replace(':', '')[-6:]}"

View File

@@ -1,2 +1,4 @@
from .A7X import *
from .A8X import *
from .A9X import *
from .A10X import *