1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
Commit Graph

5 Commits

Author SHA1 Message Date
Gunar Schorcht
7ac2865f7e drivers/ft5x06: init INT pin only if callback is defined
If the INT pin is initialized if the callback function parameter `cb` is `NULL`, the driver crashes the first time an interrupt is triggered. Therefore, the INT pin must be initialized only if also the callback function parameter `cb` is not `NULL`.
2023-08-25 17:35:23 +02:00
Gunar Schorcht
d88e46b3d5 drivers/ft5x06: use a const pointer to params instead of a copy
There is no need to copy the configuration parameter set to the device descriptor. A const pointer to the configuration parameter set in ROM is sufficient. It saves some 16 byte of RAM.
2023-08-23 23:36:39 +02:00
Gunar Schorcht
a9f3ce121a drivers/ft5x06: fix register addresses 2023-08-15 00:06:14 +02:00
Leandro Lanzieri
4eb58d74b5
drivers/ft5x06: allow multiple device types 2022-01-21 13:13:09 +01:00
11f73ea5c9
drivers/ft5x06: add touch panel driver 2022-01-08 15:08:05 +01:00