fix: compiling errors

This commit is contained in:
Terrence
2025-09-12 15:55:55 +08:00
parent f79506d58b
commit 76c19a0f2d
7 changed files with 9 additions and 75 deletions

View File

@@ -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() {