summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKarl Palsson <karlp@tweak.net.au>2016-09-30 23:29:40 +0000
committerKarl Palsson <karlp@tweak.net.au>2016-09-30 23:32:09 +0000
commit315da21955a33883063ce6db8b2dc646bbe2649d (patch)
treee0127396039bb899812dded65db19e8df98fdd29 /tests
parent003c9d202aeeb428640cecfece1c20f9bcd7ddbd (diff)
downloadolsndot-315da21955a33883063ce6db8b2dc646bbe2649d.tar.gz
olsndot-315da21955a33883063ce6db8b2dc646bbe2649d.tar.bz2
olsndot-315da21955a33883063ce6db8b2dc646bbe2649d.zip
usb-serial: f1: try and diagnose corruption in rx path
Diffstat (limited to 'tests')
-rw-r--r--tests/usb-serial-rs485/main-stm32f103-generic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/usb-serial-rs485/main-stm32f103-generic.c b/tests/usb-serial-rs485/main-stm32f103-generic.c
index 0665c0b..0dacd70 100644
--- a/tests/usb-serial-rs485/main-stm32f103-generic.c
+++ b/tests/usb-serial-rs485/main-stm32f103-generic.c
@@ -92,6 +92,7 @@ void usart2_isr(void)
ER_DPRINTF("rx buffer full\n");
while(1);
}
+ trace_send8(STIMULUS_RING_PUSH, c);
gpio_clear(LED_RX_PORT, LED_RX_PIN);
}
// usbser-irq-txe()