X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=int%2Fnucleo-f767-blinky%2Fsrc%2Fsds.c;h=cd6452b9e24f64909b8c0eb107695f1831f985ae;hb=a5c6b47a3e645aa8ce326e00c80e8bf10d515215;hp=1300c0625f361db069e1897e295db66d9f8c2828;hpb=0efbd98973520d55ec4e80e443911f43b3c28a0d;p=mTask.git diff --git a/int/nucleo-f767-blinky/src/sds.c b/int/nucleo-f767-blinky/src/sds.c index 1300c06..cd6452b 100644 --- a/int/nucleo-f767-blinky/src/sds.c +++ b/int/nucleo-f767-blinky/src/sds.c @@ -26,7 +26,7 @@ void sds_register() break; if(cs == MAXSDSS) - die("Trying to add too much sdss...\n"); + die("Trying to add too much sdss..."); memset(&sdss[cs], 0, sizeof(struct sds)); //Read identifier @@ -34,7 +34,7 @@ void sds_register() //Read value sdss[cs].value = read16(); - debug("\nReceived sds %d: %d\n", sdss[cs].id, sdss[cs].value); + debug("Received sds %d: %d", sdss[cs].id, sdss[cs].value); sdss[cs].used = true; } @@ -50,9 +50,9 @@ bool sds_update() if(sdss[cs].id == id){ //Read value sdss[cs].value = read16(); - debug("\nReceived sds update %d: %d\n", + debug("Received sds update %d: %d", sdss[cs].id, sdss[cs].value); - printf("\nReceived sds update %d: %d\n", + printf("Received sds update %d: %d", sdss[cs].id, sdss[cs].value); return true; } @@ -65,7 +65,7 @@ void sds_publish(int id) uint8_t cs; for(cs = 0; cs