From 2dffba9c479c2c5afe795ad30428f3cb8f9b16a4 Mon Sep 17 00:00:00 2001 From: Dominic Spill Date: Thu, 21 Jul 2016 13:50:14 +0100 Subject: [PATCH] Remove unude set_configuration() code for CPLD updates - now handled under the default configuration --- firmware/hackrf_usb/hackrf_usb.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/firmware/hackrf_usb/hackrf_usb.c b/firmware/hackrf_usb/hackrf_usb.c index 8a4357a5..2c5ec3d0 100644 --- a/firmware/hackrf_usb/hackrf_usb.c +++ b/firmware/hackrf_usb/hackrf_usb.c @@ -177,11 +177,6 @@ void usb_configuration_changed( // transceiver configuration cpu_clock_pll1_max_speed(); led_on(LED1); - } else if( device->configuration->number == 2 ) { - // CPLD update configuration - cpu_clock_pll1_max_speed(); - usb_endpoint_init(&usb_endpoint_bulk_out); - start_cpld_update = true; } else { /* Configuration number equal 0 means usb bus reset. */ cpu_clock_pll1_low_speed();