Operator precedence is a thing

This commit is contained in:
Michael McMaster 2021-03-15 21:45:22 +10:00
parent 14ba62e8e3
commit 6081b3b641
1 changed files with 1 additions and 1 deletions

View File

@ -1011,7 +1011,7 @@ void sdCheckPresent()
// Debounce. Quicker if the card is present at
// power on
for (int i = 0; cs && (i < firstCheck ? 2 : 50); ++i)
for (int i = 0; cs && (i < (firstCheck ? 2 : 50)); ++i)
{
cs = sdIsCardPresent();
CyDelay(5);