From d3b1f4e40663dd3f663713ac38c724e11a8e1ae8 Mon Sep 17 00:00:00 2001 From: "henryk@ploetzli.ch" Date: Mon, 23 Aug 2010 07:49:44 +0000 Subject: [PATCH] Flash green LED during sample transmission ("data samples" and "data hexsamples" commands) to indicate activity (and that the device hasn't hung) --- armsrc/appmain.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/armsrc/appmain.c b/armsrc/appmain.c index bfce2953..dcbef113 100644 --- a/armsrc/appmain.c +++ b/armsrc/appmain.c @@ -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; } -- 2.39.5