icE1usb fw: Use register bit #define instead of magic number
Change-Id: Ic824ce5a6605c96989fefbf92f365bff618dccb2
This commit is contained in:
parent
a59ef2bb3f
commit
175b37c42f
|
@ -406,7 +406,7 @@ e1_poll(void)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/* HACK: LED link status */
|
/* HACK: LED link status */
|
||||||
if (e1_regs->rx.csr & 2)
|
if (e1_regs->rx.csr & E1_RX_SR_ALIGNED)
|
||||||
led_color(0, 48, 0);
|
led_color(0, 48, 0);
|
||||||
else
|
else
|
||||||
led_color(48, 0, 0);
|
led_color(48, 0, 0);
|
||||||
|
|
Loading…
Reference in New Issue