#3 Add touch hook for Lilygo L58

This commit is contained in:
martinberlin 2021-05-30 20:13:32 +02:00
parent c9660bd69f
commit debae0b814
4 changed files with 18 additions and 14 deletions

View file

@ -6,7 +6,7 @@
#include "tp_spi.h"
#include "tp_i2c.h"
// Is not being included in CMakeLists.txt (Research why)
#include "l58.cpp"
#include "l58.h"
void touch_driver_init(void)
{
@ -15,7 +15,7 @@ void touch_driver_init(void)
#elif defined (CONFIG_LV_TOUCH_CONTROLLER_FT6X06)
ft6x06_init(FT6236_I2C_SLAVE_ADDR);
#elif defined (CONFIG_LV_TOUCH_CONTROLLER_L58)
// Do nothing for now
l58_init();
#elif defined (CONFIG_LV_TOUCH_CONTROLLER_STMPE610)
stmpe610_init();
#elif defined (CONFIG_LV_TOUCH_CONTROLLER_ADCRAW)