Skip to content

Commit

Permalink
commented out some USB initialization components for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jpconstantineau committed Apr 22, 2022
1 parent 0cfa5f6 commit 5df9b79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/bluetooth.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ void setupBLE(const char* manufacturer, const char* model, int8_t power)
Bluefruit.begin();
Bluefruit.setTxPower(power); // Check bluefruit.h for supported values
bledis.setManufacturer(manufacturer);
Bluefruit.setName(model);
bledis.setModel(model);
bledis.begin();
blehid.begin();
Expand Down
4 changes: 2 additions & 2 deletions src/usb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
Adafruit_USBD_HID usb_hid(desc_hid_report, sizeof(desc_hid_report), HID_ITF_PROTOCOL_NONE, 2, false);
void setupUSB(uint8_t interval_ms, const char *descriptor)
{
usb_hid.setPollInterval(interval_ms);
usb_hid.setStringDescriptor(descriptor);
//usb_hid.setPollInterval(interval_ms);
//usb_hid.setStringDescriptor(descriptor);
usb_hid.begin();
}
#endif

0 comments on commit 5df9b79

Please sign in to comment.