forked from M-Labs/artiq
devices/corecom_serial: do not use deprecated logger.warn
This commit is contained in:
parent
a6580c3fa2
commit
e0cd45b1ba
|
@ -96,7 +96,7 @@ class CoreCom:
|
||||||
else:
|
else:
|
||||||
break
|
break
|
||||||
if spurious_zero_count:
|
if spurious_zero_count:
|
||||||
logger.warn("received {} spurious zeros".format(
|
logger.warning("received {} spurious zeros".format(
|
||||||
spurious_zero_count))
|
spurious_zero_count))
|
||||||
msg = _D2HMsgType(reply)
|
msg = _D2HMsgType(reply)
|
||||||
if msg == _D2HMsgType.LOG:
|
if msg == _D2HMsgType.LOG:
|
||||||
|
|
Loading…
Reference in New Issue