Merge branch 'master' of bitbucket.org:nuttx/apps
This commit is contained in:
commit
3df1ea1a8a
@ -194,7 +194,7 @@ int media_main(int argc, char *argv[])
|
||||
|
||||
/* Fill buffer with a (possibly) unique pattern */
|
||||
|
||||
for (i = 0; i < info.nblocks; i++)
|
||||
for (i = 0; i < info.blocksize; i++)
|
||||
{
|
||||
txbuffer[i] = value;
|
||||
if (++value >= END_VALUE)
|
||||
@ -343,7 +343,7 @@ int media_main(int argc, char *argv[])
|
||||
|
||||
/* Fill buffer with a (possibly) unique pattern */
|
||||
|
||||
for (i = 0; i < info.nblocks; i++)
|
||||
for (i = 0; i < info.blocksize; i++)
|
||||
{
|
||||
txbuffer[i] = value;
|
||||
if (++value >= END_VALUE)
|
||||
|
Loading…
Reference in New Issue
Block a user