icE1usb fw: Disable the yellow led if LOS
There is no remote side alarm if there is no remote-side ... Signed-off-by: Sylvain Munaut <tnt@246tNt.com> Change-Id: I78f43eded5ed6ffde9d86726ccee2b776a3f4675
This commit is contained in:
parent
2de84f804e
commit
d6737bbf93
|
@ -448,6 +448,7 @@ e1_poll(int port)
|
||||||
e1->errors.flags &= ~(E1_ERR_F_LOS|E1_ERR_F_ALIGN_ERR);
|
e1->errors.flags &= ~(E1_ERR_F_LOS|E1_ERR_F_ALIGN_ERR);
|
||||||
} else {
|
} else {
|
||||||
e1_platform_led_set(port, E1P_LED_GREEN, E1P_LED_ST_BLINK);
|
e1_platform_led_set(port, E1P_LED_GREEN, E1P_LED_ST_BLINK);
|
||||||
|
e1_platform_led_set(port, E1P_LED_YELLOW, E1P_LED_ST_OFF);
|
||||||
led_color(48, 0, 0);
|
led_color(48, 0, 0);
|
||||||
e1->errors.flags |= E1_ERR_F_ALIGN_ERR;
|
e1->errors.flags |= E1_ERR_F_ALIGN_ERR;
|
||||||
/* TODO: completely off if rx tick counter not incrementing */
|
/* TODO: completely off if rx tick counter not incrementing */
|
||||||
|
|
Loading…
Reference in New Issue