summaryrefslogtreecommitdiffstats
path: root/firmware/upload.rb
diff options
context:
space:
mode:
authorJenna Fox <a@creativepony.com>2012-09-25 09:32:31 +1000
committerJenna Fox <a@creativepony.com>2012-09-25 09:32:31 +1000
commitae4a95e323175420625b46b64a963187956187db (patch)
tree3c74b203fe3f79fad9275358f1811f7deaabf6f2 /firmware/upload.rb
parent2b80821ecbada3d3729d7e29080ee9b0e654e558 (diff)
downloadmicronucleus-ae4a95e323175420625b46b64a963187956187db.tar.gz
micronucleus-ae4a95e323175420625b46b64a963187956187db.tar.bz2
micronucleus-ae4a95e323175420625b46b64a963187956187db.zip
Switched to new digistump vid/pid, removed string manufacturer and product name to try shave some more bytes off
also adding better comments to firmware/main.c for future hackers
Diffstat (limited to 'firmware/upload.rb')
-rw-r--r--firmware/upload.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/upload.rb b/firmware/upload.rb
index 8561867..abfd15e 100644
--- a/firmware/upload.rb
+++ b/firmware/upload.rb
@@ -13,7 +13,7 @@ class MicroBoot
def self.all
usb = LIBUSB::Context.new
usb.devices.select { |device|
- device.product == 'uBoot'
+ device.idVendor == 0x16d0 && device.idProduct == 0x0753 #&& device.product == "\xB5B"
}.map { |device|
self.new(device)
}