Flash green LED during sample transmission ("data samples" and "data hexsamples" commands) to indicate activity (and that the device hasn't hung)

This commit is contained in:
henryk@ploetzli.ch 2010-08-23 07:49:44 +00:00
parent 534983d735
commit d3b1f4e406

View file

@ -732,7 +732,9 @@ void UsbPacketReceived(uint8_t *packet, int len)
}
n.arg[0] = c->arg[0];
memcpy(n.d.asDwords, BigBuf+c->arg[0], 12*sizeof(uint32_t));
LED_B_ON();
UsbSendPacket((uint8_t *)&n, sizeof(n));
LED_B_OFF();
break;
}