Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
Beam Positoning Monitor - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Beam Positoning Monitor - Software
Commits
a1c0c2dc
Commit
a1c0c2dc
authored
Jan 12, 2015
by
Lucas Russo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hal/ll_io/ll_io_err.*: add new connection error
parent
f1ce3f9b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
ll_io_err.c
hal/ll_io/ll_io_err.c
+2
-1
ll_io_err.h
hal/ll_io/ll_io_err.h
+1
-0
No files found.
hal/ll_io/ll_io_err.c
View file @
a1c0c2dc
...
...
@@ -17,7 +17,8 @@ static const char *llio_err [LLIO_ERR_END] =
[
LLIO_ERR_FUNC_NOT_IMPL
]
=
"Function not implemented"
,
[
LLIO_ERR_INV_FUNC_PARAM
]
=
"Invalid function parameter"
,
[
LLIO_ERR_SET_ENDP
]
=
"Could not change enpoint (device opened)"
,
[
LLIO_ERR_DEV_CLOSE
]
=
"Could not close device appropriately"
[
LLIO_ERR_DEV_CLOSE
]
=
"Could not close device appropriately"
,
[
LLIO_ERR_CONN
]
=
"Could establish connection to endpoint"
};
/* Convert enumeration type to string */
...
...
hal/ll_io/ll_io_err.h
View file @
a1c0c2dc
...
...
@@ -19,6 +19,7 @@ enum _llio_err_e
LLIO_ERR_INV_FUNC_PARAM
,
/* Invalid function parameter */
LLIO_ERR_SET_ENDP
,
/* Could not set endpoint (device already opened)*/
LLIO_ERR_DEV_CLOSE
,
/* Error closing a device */
LLIO_ERR_CONN
,
/* Could establish connection to endpoint */
LLIO_ERR_END
/* End of enum marker */
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment