1
0
mirror of git://sigrok.org/libserialport synced 2023-08-10 21:13:24 +03:00

doc: correct structure name in sp_get_port_handle() documentation.

This commit is contained in:
Martin Ling 2015-04-23 22:23:14 +01:00
parent ff6da776e8
commit 480d750c59

View File

@ -555,10 +555,10 @@ enum sp_return sp_get_port_handle(const struct sp_port *port, void *result_ptr);
/** /**
* Allocate a port configuration structure. * Allocate a port configuration structure.
* *
* The user should allocate a variable of type "struct sp_config *" and pass a * The user should allocate a variable of type "struct sp_port_config *" and
* pointer to this to receive the result. The variable will be updated to * pass a pointer to this to receive the result. The variable will be updated
* point to the new configuration structure. The structure is opaque and must * to point to the new configuration structure. The structure is opaque and
* be accessed via the functions provided. * must be accessed via the functions provided.
* *
* All parameters in the structure will be initialised to special values which * All parameters in the structure will be initialised to special values which
* are ignored by sp_set_config(). * are ignored by sp_set_config().