Skip to content
Snippets Groups Projects
Commit 627524ad authored by q3k's avatar q3k
Browse files

components/badge23: make captouch register logs into debug logs

parent 8dd6910c
No related branches found
No related tags found
No related merge requests found
...@@ -104,7 +104,7 @@ static struct ad714x_chip chip_bot_rev5 = { ...@@ -104,7 +104,7 @@ static struct ad714x_chip chip_bot_rev5 = {
static esp_err_t ad714x_i2c_write(const struct ad714x_chip *chip, const uint16_t reg, const uint16_t data) static esp_err_t ad714x_i2c_write(const struct ad714x_chip *chip, const uint16_t reg, const uint16_t data)
{ {
const uint8_t tx[] = {reg >> 8, reg & 0xFF, data >> 8, data & 0xFF}; const uint8_t tx[] = {reg >> 8, reg & 0xFF, data >> 8, data & 0xFF};
ESP_LOGI(TAG, "AD7147 write reg %X-> %X", reg, data); ESP_LOGD(TAG, "AD7147 write reg %X-> %X", reg, data);
return flow3r_bsp_i2c_write_to_device(*chip->addr, tx, sizeof(tx), TIMEOUT_MS / portTICK_PERIOD_MS); return flow3r_bsp_i2c_write_to_device(*chip->addr, tx, sizeof(tx), TIMEOUT_MS / portTICK_PERIOD_MS);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment