Skip to content

Commit 1284cc9

Browse files
authored
Merge pull request #38 from adafruit/develop
fix #36 correct usb bcd version for 2.1
2 parents 4c62e5c + 79725ac commit 1284cc9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ before_install:
2828
# Remove release code and clone git master of nRF52
2929
- BSP_VERSION=`eval ls $BSP_PATH/nrf52`
3030
- rm -rf $BSP_PATH/nrf52/*
31-
- git clone --quiet https://github.com/adafruit/Adafruit_nRF52_Arduino.git $BSP_PATH/nrf52/$BSP_VERSION
31+
- git clone --quiet --recurse-submodules https://github.com/adafruit/Adafruit_nRF52_Arduino.git $BSP_PATH/nrf52/$BSP_VERSION
3232
# Remove release code and clone git master of SAMD
3333
- BSP_VERSION=`eval ls $BSP_PATH/samd`
3434
- rm -rf $BSP_PATH/samd/*
35-
- git clone --quiet https://github.com/adafruit/ArduinoCore-samd.git $BSP_PATH/samd/$BSP_VERSION
35+
- git clone --quiet --recurse-submodules https://github.com/adafruit/ArduinoCore-samd.git $BSP_PATH/samd/$BSP_VERSION
3636

3737
install:
3838
- arduino --install-library "Adafruit SPIFlash","MIDI Library","Adafruit seesaw Library","Adafruit NeoPixel"

src/Adafruit_USBD_WebUSB.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ bool Adafruit_USBD_WebUSB::begin(void)
127127
if ( !USBDevice.addInterface(*this) ) return false;
128128

129129
// WebUSB requires to change USB version from 2.0 to 2.1
130-
USBDevice.setVersion(0x2010);
130+
USBDevice.setVersion(0x0210);
131131

132132
_webusb_dev = this;
133133
return true;

0 commit comments

Comments
 (0)