feat: 实现摇一摇导航功能
This commit is contained in:
@@ -103,6 +103,11 @@ esp_err_t touch_init(lv_display_t *display)
|
||||
return ESP_OK;
|
||||
}
|
||||
|
||||
i2c_master_bus_handle_t touch_get_i2c_bus(void)
|
||||
{
|
||||
return s_touch_i2c_bus;
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
esp_err_t touch_init(lv_display_t *display)
|
||||
@@ -111,4 +116,9 @@ esp_err_t touch_init(lv_display_t *display)
|
||||
return ESP_OK;
|
||||
}
|
||||
|
||||
i2c_master_bus_handle_t touch_get_i2c_bus(void)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user