forked from xiaozhi/xiaozhi-esp32
fix: compiling errors
This commit is contained in:
@@ -130,7 +130,7 @@ private:
|
||||
}
|
||||
}
|
||||
|
||||
static void touchpad_daemon(void *param) {
|
||||
static void TouchpadDaemon(void *param) {
|
||||
vTaskDelay(pdMS_TO_TICKS(2000));
|
||||
auto &board = (LilygoTCameraPlusS3Board&)Board::GetInstance();
|
||||
auto touchpad = board.GetTouchpad();
|
||||
@@ -156,7 +156,7 @@ private:
|
||||
void InitCst816d() {
|
||||
ESP_LOGI(TAG, "Init CST816x");
|
||||
cst816d_ = new Cst816x(i2c_bus_, CST816_ADDRESS);
|
||||
xTaskCreate(touchpad_daemon, "tp", 2048, NULL, 5, NULL);
|
||||
xTaskCreate(TouchpadDaemon, "tp", 2048, NULL, 5, NULL);
|
||||
}
|
||||
|
||||
void InitSpi() {
|
||||
|
||||
Reference in New Issue
Block a user