# My Digital Signal Controller Library # The objective of MyDSC library is to implement controllers with help digital signal processors, digital signal controllers or mixed signals processors.
Dependents: mydsc_sampling_example mydsc_sampling_example mydsc-serial-example mydsc-nonblocking-example
src/mydsc_error.c@4:90c3f1288d41, 2020-03-28 (annotated)
- Committer:
- ghsalazar
- Date:
- Sat Mar 28 16:09:15 2020 +0000
- Revision:
- 4:90c3f1288d41
Add error handling
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ghsalazar | 4:90c3f1288d41 | 1 | #include "mydsc_error.h" |
ghsalazar | 4:90c3f1288d41 | 2 | |
ghsalazar | 4:90c3f1288d41 | 3 | mydsc_errno_t mydsc_errno = MYDSC_SUCCESS; |
ghsalazar | 4:90c3f1288d41 | 4 | |
ghsalazar | 4:90c3f1288d41 | 5 | char *mydsc_error[] ={ |
ghsalazar | 4:90c3f1288d41 | 6 | "Ok", |
ghsalazar | 4:90c3f1288d41 | 7 | "key-value: Value can't be changed", |
ghsalazar | 4:90c3f1288d41 | 8 | "key-value: There isn't such key", |
ghsalazar | 4:90c3f1288d41 | 9 | "The value is wrong", |
ghsalazar | 4:90c3f1288d41 | 10 | |
ghsalazar | 4:90c3f1288d41 | 11 | }; |