X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=libserialport.h.in;h=9c6842ab7f079f1ed769269e0f259b21326f34f6;hb=27911925c11b01943e2a569ebb71fe259c387329;hp=b590cac779f5a7a9f7a8efd5af3ee68ed84e1057;hpb=ff6da776e809d75594aa45baf3bb39c7f4ba7d8c;p=libserialport.git diff --git a/libserialport.h.in b/libserialport.h.in index b590cac..9c6842a 100644 --- a/libserialport.h.in +++ b/libserialport.h.in @@ -555,10 +555,10 @@ enum sp_return sp_get_port_handle(const struct sp_port *port, void *result_ptr); /** * Allocate a port configuration structure. * - * The user should allocate a variable of type "struct sp_config *" and pass a - * pointer to this to receive the result. The variable will be updated to - * point to the new configuration structure. The structure is opaque and must - * be accessed via the functions provided. + * The user should allocate a variable of type "struct sp_port_config *" and + * pass a pointer to this to receive the result. The variable will be updated + * to point to the new configuration structure. The structure is opaque and + * must be accessed via the functions provided. * * All parameters in the structure will be initialised to special values which * are ignored by sp_set_config().