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
7bea36ba
Commit
7bea36ba
authored
Jul 18, 2014
by
Lucas Russo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hal/sm_io/sm_io_err.*: add new "config defaults" error
parent
a59dbb68
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
sm_io_err.c
hal/sm_io/sm_io_err.c
+2
-1
sm_io_err.h
hal/sm_io/sm_io_err.h
+1
-0
No files found.
hal/sm_io/sm_io_err.c
View file @
7bea36ba
...
...
@@ -19,7 +19,8 @@ static const char *smio_err [SMIO_ERR_END] =
[
SMIO_ERR_WRONG_NARGS
]
=
"Wrong number of arguments"
,
[
SMIO_ERR_WRONG_PARAM
]
=
"Wrong parameter value"
,
[
SMIO_ERR_LLIO
]
=
"Low-level I/O could not complete operation"
,
[
SMIO_ERR_EXPORT_OP
]
=
"Could not export function"
[
SMIO_ERR_EXPORT_OP
]
=
"Could not export function"
,
[
SMIO_ERR_CONFIG_DFLT
]
=
"Could not configure the default values"
};
/* Convert enumeration type to string */
...
...
hal/sm_io/sm_io_err.h
View file @
7bea36ba
...
...
@@ -21,6 +21,7 @@ enum _smio_err_e
SMIO_ERR_WRONG_PARAM
,
/* Wrong parameter value */
SMIO_ERR_LLIO
,
/* Low-level I/O could not complete operation */
SMIO_ERR_EXPORT_OP
,
/* Error exporting function */
SMIO_ERR_CONFIG_DFLT
,
/* Error configuring the default values */
SMIO_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