Integrated STM32F4 I2C HAL functions.
Changed old "I2C_SPEED" to "I2C_CLK_RATE" in order not to conflict with HAL. Use TOUCH_INT again to gate touch sampling.
This commit is contained in:
@@ -238,7 +238,7 @@ set(TARGET_SRC
|
||||
)
|
||||
|
||||
if(HARDWARE_TOUCH)
|
||||
set(TOUCH_DRIVER tp_gt911.cpp)
|
||||
set(TOUCH_DRIVER tp_gt911.cpp i2c_driver.cpp)
|
||||
add_definitions(-DHARDWARE_TOUCH)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user