projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
massive commit to get umass working, only significant known bug is that changes don...
[goodfet]
/
client
/
USBConfiguration.py
diff --git
a/client/USBConfiguration.py
b/client/USBConfiguration.py
index
98a3c99
..
aeed133
100644
(file)
--- a/
client/USBConfiguration.py
+++ b/
client/USBConfiguration.py
@@
-12,6
+12,14
@@
class USBConfiguration:
self.attributes = 0xe0
self.max_power = 0x01
self.attributes = 0xe0
self.max_power = 0x01
+ self.device = None
+
+ for i in self.interfaces:
+ i.set_configuration(self)
+
+ def set_device(self, device):
+ self.device = device
+
def set_configuration_string_index(self, i):
self.configuration_string_index = i
def set_configuration_string_index(self, i):
self.configuration_string_index = i