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
|
||||
* int intNumberOfDevices = tdGetNumberOfDevices();
|
||||
* for (int i = 0; i < intNumberOfDevices; i++) {
|
||||
* int id = tdGetDeviceId( index );
|
||||
* int id = tdGetDeviceId( i );
|
||||
* char *name = tdGetName( id );
|
||||
* printf("%d\t%s\n", id, name);
|
||||
* tdReleaseString(name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue