Skip to content

Commit

Permalink
tweak for CST820
Browse files Browse the repository at this point in the history
  • Loading branch information
lovyan03 committed Mar 5, 2024
1 parent 02c3383 commit 73de472
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lgfx/v1/touch/Touch_CST816S.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ namespace lgfx
break;
}
count = readdata[0];
} while ((count > 1 || readdata[5] != 0x10) && --retry);
} while (count > 1 && --retry);
if (!retry)
{
count = 0;
Expand Down

0 comments on commit 73de472

Please sign in to comment.