Skip to content

Commit

Permalink
Fix formatting of example.
Browse files Browse the repository at this point in the history
  • Loading branch information
relic-se committed Jan 24, 2025
1 parent 4a4a216 commit 3846e6f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ void setup() {
count = i2s.read((const uint8_t *)&buffer, SIZE * sizeof(int16_t)) * sizeof(uint32_t) / sizeof(int16_t);
index = 0;
while (index < count) {
buffer[index++]; // left
buffer[index++]; // right
buffer[index++]; // left
buffer[index++]; // right
}
i2s.write((const uint8_t *)&buffer, count * sizeof(int16_t));
}
Expand Down

0 comments on commit 3846e6f

Please sign in to comment.