Skip to content

Commit

Permalink
fix I2C read timeout error when interrupt. ( #88 )
Browse files Browse the repository at this point in the history
  • Loading branch information
lovyan03 committed Apr 21, 2024
1 parent 51c85f2 commit 83e1941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lgfx/v1/platforms/esp32/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1384,8 +1384,8 @@ namespace lgfx
i2c_set_cmd(dev, 0, i2c_cmd_read, len, last_nack && length == 0);
i2c_set_cmd(dev, 1, i2c_cmd_end, 0);
updateDev(dev);
dev->ctr.trans_start = 1;
dev->int_clr.val = intmask;
dev->ctr.trans_start = 1;

do
{
Expand Down

0 comments on commit 83e1941

Please sign in to comment.