diff --git a/docs/01-telldus-core.dox b/docs/01-telldus-core.dox index d7df9100..b5987450 100644 --- a/docs/01-telldus-core.dox +++ b/docs/01-telldus-core.dox @@ -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);