Azoteq - improve I2C behaviour while polling. (#24611)
Co-authored-by: Stefan Kerkmann <karlk90@pm.me>
This commit is contained in:
parent
15bfe6240c
commit
62e98327d2
2 changed files with 26 additions and 32 deletions
|
|
@ -173,7 +173,8 @@ typedef struct {
|
|||
# define AZOTEQ_IQS5XX_REPORT_RATE 10
|
||||
#endif
|
||||
#if !defined(POINTING_DEVICE_TASK_THROTTLE_MS) && !defined(POINTING_DEVICE_MOTION_PIN)
|
||||
# define POINTING_DEVICE_TASK_THROTTLE_MS AZOTEQ_IQS5XX_REPORT_RATE
|
||||
// Polling the Azoteq isn't recommended, ensuring we only poll after the report is ready stops any unexpected NACKs
|
||||
# define POINTING_DEVICE_TASK_THROTTLE_MS AZOTEQ_IQS5XX_REPORT_RATE + 1
|
||||
#endif
|
||||
|
||||
const pointing_device_driver_t azoteq_iqs5xx_pointing_device_driver;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue