Fix typo for bulk endpoints
It appears that older versions of Linux just silently treated interrupt
endpoints for CDC devices as bulk (like they should be), but newer ones
have gotten noisier about it. Nothing else tries to make bulk endpoints.
Change-Id: If44f0e91d744940ae469db84a2165d6b6e391083
diff --git a/motors/usb/usb.h b/motors/usb/usb.h
index 1d7606f..8b2cc67 100644
--- a/motors/usb/usb.h
+++ b/motors/usb/usb.h
@@ -434,7 +434,7 @@
static constexpr uint8_t m_endpoint_address_in() { return 1 << 7; }
static constexpr uint8_t m_endpoint_attributes_control() { return 0x00; }
static constexpr uint8_t m_endpoint_attributes_isochronous() { return 0x01; }
- static constexpr uint8_t m_endpoint_attributes_bulk() { return 0x03; }
+ static constexpr uint8_t m_endpoint_attributes_bulk() { return 0x02; }
static constexpr uint8_t m_endpoint_attributes_interrupt() { return 0x03; }
// Adds a new endpoint and returns its index.