Commit ba4817eb authored by Federico Vaga's avatar Federico Vaga

wrtd:lib: improve documentation and error messages

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>


NOTE
This commit has been created by `git subtree` on the Mock Turtle repository
on tag mock-turtle-2.0

This commit will not compile
parent 3e13c910
......@@ -32,8 +32,8 @@ const char *wrtd_errors[] = {
"Trigger not found",
"No trigger condition",
"Invalid pulse width",
"Invalid input real-time application",
"Invalid output real-time application"
"Invalid input real-time application version",
"Invalid output real-time application version"
};
......@@ -88,8 +88,8 @@ void wrtd_exit()
* Check if the RT-app running version is compatible with the current
* library
* @param[in] dev device token
* @return 1 if the version is correct, 0 otherwise. On error you get 0
* and errno is appropriately set
* @return 1 if the version is correct, 0 otherwise and errno is
* appropriately set
*/
int wrtd_version_is_valid(struct wrtd_node *dev)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment