From 14c671c552684d8d467b61ba7b3d155940b95942 Mon Sep 17 00:00:00 2001 From: Michael Ossmann Date: Sun, 24 Feb 2013 12:55:54 -0700 Subject: [PATCH] indicate RX on LED2 --- firmware/usb_performance/usb_performance.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/firmware/usb_performance/usb_performance.c b/firmware/usb_performance/usb_performance.c index 9fe8c17e..8c780493 100644 --- a/firmware/usb_performance/usb_performance.c +++ b/firmware/usb_performance/usb_performance.c @@ -182,10 +182,12 @@ void set_transceiver_mode(const transceiver_mode_t new_transceiver_mode) { if( transceiver_mode == TRANSCEIVER_MODE_RX ) { gpio_clear(PORT_LED1_3, PIN_LED3); + gpio_set(PORT_LED1_3, PIN_LED2); usb_endpoint_init(&usb_endpoint_bulk_in); max2837_rx(); } else { + gpio_clear(PORT_LED1_3, PIN_LED2); gpio_set(PORT_LED1_3, PIN_LED3); usb_endpoint_init(&usb_endpoint_bulk_out);