From d175e3de3e9c4685b2e76fd408557434e3506e00 Mon Sep 17 00:00:00 2001 From: Paul Goeser Date: Sun, 24 Jul 2011 17:03:07 +0200 Subject: [PATCH] small --- TODO | 11 ++++++----- documentation/SPI-Proto | 1 + firmware/slavechip/ringbuf_small.c | 1 - 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/TODO b/TODO index 214ee0b..0731190 100644 --- a/TODO +++ b/TODO @@ -1,16 +1,17 @@ Was will ich jetzt tun? +- compile-fehler durchgehen +- eventdriver-code fixen + + + Mess-software: --[B] besseres protokoll, mit funktionen mit returnwerten --[C] ringbuffer für debug-printf -[A-] "Event-driver" für die korrekte Messabfolge -[C] Rauschen besser bewerten Mess-hardware: -[A2] Weitere Kanäle löten --[A1] Blockkondensatoren bewerten --[A] Pt1000-Messbrücke bauen --[A] Lösung für das offset-zeuch finden, EMV-Filter impedanz durchrechnen +-[?] Offsetkompensation für Ambient Hardware: -[B] Gehäuse diff --git a/documentation/SPI-Proto b/documentation/SPI-Proto index 557e7f0..051737b 100644 --- a/documentation/SPI-Proto +++ b/documentation/SPI-Proto @@ -35,3 +35,4 @@ Where following values are Valid: Änderungen: 1 ist nun Echo. 7 ist read-temp +6 ist ein call, bekommt ein int16_t übergeben und gibt ein int16_t zurück diff --git a/firmware/slavechip/ringbuf_small.c b/firmware/slavechip/ringbuf_small.c index a180fdc..d848be9 100644 --- a/firmware/slavechip/ringbuf_small.c +++ b/firmware/slavechip/ringbuf_small.c @@ -27,7 +27,6 @@ void ringbuf_init(ringbuf_t *rb, char* buf, int size){ uint8_t ringbuf_put(ringbuf_t *rb, uint8_t value){ // calculate next ptr pos uint8_t next = rb->writepos + 1; - char* readpos; if(next >= rb->size){ next = 0; }