We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5330966 commit dca032aCopy full SHA for dca032a
examples/i2schar/i2schar_receiver.c
@@ -99,7 +99,7 @@ pthread_addr_t i2schar_receiver(pthread_addr_t arg)
99
100
/* Loop for the requested number of times */
101
102
- for (i = 0; i < CONFIG_EXAMPLES_I2SCHAR_TXBUFFERS; i++)
+ for (i = 0; i < g_i2schar.rxcount; i++)
103
{
104
/* Allocate an audio buffer of the configured size */
105
examples/i2schar/i2schar_transmitter.c
@@ -102,7 +102,7 @@ pthread_addr_t i2schar_transmitter(pthread_addr_t arg)
- for (i = 0, crap = 0; i < CONFIG_EXAMPLES_I2SCHAR_TXBUFFERS; i++)
+ for (i = 0, crap = 0; i < g_i2schar.txcount; i++)
106
107
108
0 commit comments