icE1usb fw: Disable reporting of 'loss of timing' for now

This works half way decent enough to make the LED status change visibly
in case the physical link is disconnected.  However, we will generate a
storm of USB interrupt endpoint messages if we leave this on

Change-Id: I9d0ddb2d404880c4a85e30de1b4bf4204d468ab7
This commit is contained in:
Harald Welte 2020-12-17 11:56:11 +01:00
parent b410b09043
commit 90c6d87b46
1 changed files with 3 additions and 1 deletions

View File

@ -389,7 +389,9 @@ e1_poll(void)
uint16_t cur_tick = e1_tick_read_rx(0);
if (g_e1.rx.last_tick == cur_tick) {
e1_platform_led_set(0, E1P_LED_GREEN, E1P_LED_ST_OFF);
g_e1.errors.flags |= E1_ERR_F_LOS;
/* FIXME: this is very flaky, we are probably getting some noise
* at the Rx tick counter if the cable is disconnected? */
//g_e1.errors.flags |= E1_ERR_F_LOS;
} else {
e1_platform_led_set(0, E1P_LED_GREEN, E1P_LED_ST_BLINK);
g_e1.errors.flags &= ~E1_ERR_F_LOS;