diff --git a/src/control.h b/src/control.h index 95ce825..744bb92 100644 --- a/src/control.h +++ b/src/control.h @@ -91,7 +91,7 @@ static inline int ipts_control_refill_buffer(struct ipts_context *ipts, u32 buff { /* * IPTS expects structured data in the feedback buffer matching the buffer that will be - + refilled. We don't know what that data looks like, so we just keep the buffer empty. + * refilled. We don't know what that data looks like, so we just keep the buffer empty. * This results in an INVALID_PARAMS error, but the buffer gets refilled without an issue. * Sending a minimal structure with the buffer ID fixes the error, but breaks refilling * the buffers on some devices. diff --git a/src/spec-device.h b/src/spec-device.h index e8a9117..93f673d 100644 --- a/src/spec-device.h +++ b/src/spec-device.h @@ -110,7 +110,7 @@ static_assert(sizeof(struct ipts_command) == 324); /** * enum ipts_mode - Configures what data the device produces and how its sent. * @IPTS_MODE_EVENT: The device will send an event once a buffer was filled. - * Older device will return singletouch data in this mode. + * Older devices will return singletouch data in this mode. * @IPTS_MODE_DOORBELL: The device will notify the driver by incrementing the doorbell value. * Older devices will return multitouch data in this mode. */