summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/hammer/board.c2
-rw-r--r--chip/stm32/usb_hid_touchpad.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/board/hammer/board.c b/board/hammer/board.c
index 73ade52cbb..5bc8b86fcb 100644
--- a/board/hammer/board.c
+++ b/board/hammer/board.c
@@ -44,7 +44,7 @@ BUILD_ASSERT(ARRAY_SIZE(usb_strings) == USB_STR_COUNT);
/* I2C ports */
const struct i2c_port_t i2c_ports[] = {
- {"master", I2C_PORT_MASTER, 100,
+ {"master", I2C_PORT_MASTER, 400,
GPIO_MASTER_I2C_SCL, GPIO_MASTER_I2C_SDA},
};
const unsigned int i2c_ports_used = ARRAY_SIZE(i2c_ports);
diff --git a/chip/stm32/usb_hid_touchpad.c b/chip/stm32/usb_hid_touchpad.c
index 92e1b09886..15b7f6554c 100644
--- a/chip/stm32/usb_hid_touchpad.c
+++ b/chip/stm32/usb_hid_touchpad.c
@@ -28,7 +28,7 @@
* Touchpad EP interval: Make sure this value is smaller than the typical
* interrupt interval from the trackpad.
*/
-#define HID_TOUCHPAD_EP_INTERVAL_MS 8 /* ms */
+#define HID_TOUCHPAD_EP_INTERVAL_MS 2 /* ms */
/* HID descriptors */
const struct usb_interface_descriptor USB_IFACE_DESC(USB_IFACE_HID_TOUCHPAD) = {