add external libraries and update stm version
[mTask.git] / int / nucleo-f767-blinky / src / sds.c
index 8e3d2f6..1300c06 100644 (file)
@@ -8,7 +8,6 @@
 
 #include "interface.h"
 #include "interpret.h"
-#include "misc.h"
 #include "sds.h"
 
 struct sds sdss[MAXSDSS];
@@ -27,7 +26,7 @@ void sds_register()
                        break;
 
        if(cs == MAXSDSS)
-               die("Trying to add too much tasks...\n");
+               die("Trying to add too much sdss...\n");
 
        memset(&sdss[cs], 0, sizeof(struct sds));
        //Read identifier
@@ -53,6 +52,8 @@ bool sds_update()
                        sdss[cs].value = read16();
                        debug("\nReceived sds update %d: %d\n",
                              sdss[cs].id, sdss[cs].value);
+                       printf("\nReceived sds update %d: %d\n",
+                             sdss[cs].id, sdss[cs].value);
                        return true;
                }
        }