Skip to content
Snippets Groups Projects
Commit 6d6f6dec authored by moon2's avatar moon2 :speech_balloon:
Browse files

i2c task: 23ms is stable

parent ea37020f
No related branches found
No related tags found
No related merge requests found
...@@ -52,7 +52,7 @@ static esp_err_t i2c_master_init(void) ...@@ -52,7 +52,7 @@ static esp_err_t i2c_master_init(void)
return i2c_driver_install(i2c_master_port, conf.mode, I2C_MASTER_RX_BUF_DISABLE, I2C_MASTER_TX_BUF_DISABLE, 0); return i2c_driver_install(i2c_master_port, conf.mode, I2C_MASTER_RX_BUF_DISABLE, I2C_MASTER_TX_BUF_DISABLE, 0);
} }
#define CAPTOUCH_POLLING_PERIOD 21 #define CAPTOUCH_POLLING_PERIOD 23
static uint8_t hw_init_done = 0; static uint8_t hw_init_done = 0;
void i2c_task(TimerHandle_t data){ void i2c_task(TimerHandle_t data){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment