Skip to content

Commit

Permalink
updated default delay
Browse files Browse the repository at this point in the history
  • Loading branch information
jpconstantineau committed Feb 25, 2023
1 parent c797273 commit 14d870a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/hid_queues.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

HID_Queues::HID_Queues()
{
_HIDMessageDelay=10;
_HIDMessageDelay=2;
_manufacturer="BlueMicro Industries";
_model = "BlueMicro_NONE";
_descriptor = "BlueMicro_DESC";
Expand All @@ -19,25 +19,27 @@ HID_Queues::HID_Queues()
HID_Queues::HID_Queues(BLEHidAdafruit* ble_hid)
{
ble_hid_driver = ble_hid;
_HIDMessageDelay=10;
_HIDMessageDelay=2;
_power=0;
_interval_ms=2;
_manufacturer="BlueMicro Industries";
_model = "BlueMicro_BLE";
_descriptor = "BlueMicro_DESC";
connection = CONNECTION_NONE;
}
#endif

#ifdef HARDWARE_DETECT_USB_AVAILABLE
HID_Queues::HID_Queues(Adafruit_USBD_HID* usb_hid)
{
usb_hid_driver = usb_hid;
_HIDMessageDelay=10;
_HIDMessageDelay=2;
_power=0;
_interval_ms=2;
_manufacturer="BlueMicro Industries";
_model = "BlueMicro_USB";
_descriptor = "BlueMicro_DESC";
connection = CONNECTION_NONE;
}

#ifdef HARDWARE_DETECT_BLE_AVAILABLE
Expand All @@ -51,6 +53,7 @@ HID_Queues::HID_Queues()
_manufacturer="BlueMicro Industries";
_model = "BlueMicro_HID";
_descriptor = "BlueMicro_DESC";
connection = CONNECTION_NONE;
}
#endif
#endif
Expand Down

0 comments on commit 14d870a

Please sign in to comment.