X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=int%2Fnucleo-f767-blinky%2Fsrc%2Fsds.c;h=1300c0625f361db069e1897e295db66d9f8c2828;hb=0efbd98973520d55ec4e80e443911f43b3c28a0d;hp=475128488501f6d640b8c4ab26bc58b282a4047a;hpb=d843329eece9c8607411abb56491a00e152554ce;p=mTask.git diff --git a/int/nucleo-f767-blinky/src/sds.c b/int/nucleo-f767-blinky/src/sds.c index 4751284..1300c06 100644 --- a/int/nucleo-f767-blinky/src/sds.c +++ b/int/nucleo-f767-blinky/src/sds.c @@ -6,9 +6,8 @@ #include #endif -#include "main.h" +#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 @@ -43,7 +42,7 @@ bool sds_update() { uint8_t cs, id; //Read identifier - id = read_byte(); + id = read16(); for(cs = 0; cs