Fix variable name in code example
This commit is contained in:
parent
bda20c75f0
commit
e921be65b4
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@
|
||||||
* \code
|
* \code
|
||||||
* int intNumberOfDevices = tdGetNumberOfDevices();
|
* int intNumberOfDevices = tdGetNumberOfDevices();
|
||||||
* for (int i = 0; i < intNumberOfDevices; i++) {
|
* for (int i = 0; i < intNumberOfDevices; i++) {
|
||||||
* int id = tdGetDeviceId( index );
|
* int id = tdGetDeviceId( i );
|
||||||
* char *name = tdGetName( id );
|
* char *name = tdGetName( id );
|
||||||
* printf("%d\t%s\n", id, name);
|
* printf("%d\t%s\n", id, name);
|
||||||
* tdReleaseString(name);
|
* tdReleaseString(name);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue