repositories
/
mTask.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
robustify task and sds initialization
[mTask.git]
/
int
/
sds.c
diff --git
a/int/sds.c
b/int/sds.c
index
3a14c60
..
19ebadb
100644
(file)
--- a/
int/sds.c
+++ b/
int/sds.c
@@
-11,6
+11,11
@@
struct sds sdss[MAXSDSS];
uint8_t c;
+void sds_init()
+{
+ memset(&sdss, 0, sizeof(struct sds)*MAXSDSS);
+}
+
void sds_register(int fd)
{
uint8_t cs;