obmc-console: Add clang-format configuration
And apply the formatting.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I75251051affa5129c8698185baf8d151302b19d6
diff --git a/test/test-ringbuffer-boundary-read.c b/test/test-ringbuffer-boundary-read.c
index 2b982e1..5a8fb8f 100644
--- a/test/test-ringbuffer-boundary-read.c
+++ b/test/test-ringbuffer-boundary-read.c
@@ -36,7 +36,7 @@
len = ringbuffer_dequeue_peek(rbc, pos, &out_buf);
if (len == 0)
break;
- assert(!memcmp(in_buf+pos, out_buf, len));
+ assert(!memcmp(in_buf + pos, out_buf, len));
pos += len;
}
assert(pos == sizeof(in_buf));