From 5950acfb05fb3e172fa5710f1cda6ab347f51f2f Mon Sep 17 00:00:00 2001 From: root Date: Thu, 13 Nov 2014 17:39:18 +0000 Subject: leds --- app/ring.c | 1 + 1 file changed, 1 insertion(+) (limited to 'app/ring.c') diff --git a/app/ring.c b/app/ring.c index 4f38e44..8925791 100644 --- a/app/ring.c +++ b/app/ring.c @@ -28,6 +28,7 @@ ring_write_byte (ring_t * r, uint8_t c) return -1; r->data[r->write] = c; + r->write = n; return 0; -- cgit v1.2.3