Remove magic number
This commit is contained in:
@@ -318,7 +318,7 @@ class GmiiSink(object):
|
|||||||
odd = not odd
|
odd = not odd
|
||||||
b = (n & 0x0F) << 4 | b >> 4
|
b = (n & 0x0F) << 4 | b >> 4
|
||||||
be |= e
|
be |= e
|
||||||
if not sync and b == 0xD5:
|
if not sync and b == EthPre.SFD:
|
||||||
odd = True
|
odd = True
|
||||||
sync = True
|
sync = True
|
||||||
if odd:
|
if odd:
|
||||||
|
|||||||
Reference in New Issue
Block a user