X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=client%2Finterface.c;h=fae81db03a128782733c1aa7ee36f87ee9954d5d;hb=2b50c2537dbb28d062938a6c217f5ba27fed23d9;hp=0b994eab07f587b80dc61835b8cef96512c4eb49;hpb=639cdcf1c26177c87237bd5790e89184f531731d;p=mTask.git diff --git a/client/interface.c b/client/interface.c index 0b994ea..fae81db 100644 --- a/client/interface.c +++ b/client/interface.c @@ -4,7 +4,6 @@ #include #include -#include "chprintf.h" #include "interface.h" #include "ch.h" #include "hal.h" @@ -87,14 +86,14 @@ void setup(void) halInit(); chSysInit(); sdStart(&SD3, NULL); + sdStart(&SD1, NULL); + + } void debug(char *fmt, ...) { - va_list ap; - va_start(ap, fmt); - chvprintf((BaseSequentialStream *)&SD3, fmt, ap); - va_end(ap); + (void)fmt; } void pdie(char *s)