File: 0087-Reduce-configuration-count-to-1.patch

package info (click to toggle)
hackrf 2015.07.2-11
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 69,764 kB
  • ctags: 9,327
  • sloc: ansic: 13,907; python: 696; vhdl: 218; sh: 32; makefile: 15
file content (25 lines) | stat: -rw-r--r-- 787 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From ea2f1a892109eaf38feafb61cabc1ff6ee389020 Mon Sep 17 00:00:00 2001
From: Dominic Spill <dominicgs@gmail.com>
Date: Thu, 21 Jul 2016 13:47:45 +0100
Subject: [PATCH 087/111] Reduce configuration count to 1

---
 firmware/hackrf_usb/usb_descriptor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/firmware/hackrf_usb/usb_descriptor.c b/firmware/hackrf_usb/usb_descriptor.c
index bacf7dd..5a9eeb4 100644
--- a/firmware/hackrf_usb/usb_descriptor.c
+++ b/firmware/hackrf_usb/usb_descriptor.c
@@ -59,7 +59,7 @@ uint8_t usb_descriptor_device[] = {
 	0x01,				   // iManufacturer
 	0x02,				   // iProduct
 	0x04,				   // iSerialNumber
-	0x02				   // bNumConfigurations
+	0x01				   // bNumConfigurations
 };
 
 uint8_t usb_descriptor_device_qualifier[] = {
-- 
2.1.4