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-read-commit.c b/test/test-ringbuffer-read-commit.c
index a4be624..0dba0d7 100644
--- a/test/test-ringbuffer-read-commit.c
+++ b/test/test-ringbuffer-read-commit.c
@@ -8,7 +8,11 @@
void test_read_commit(void)
{
- uint8_t *out_buf, in_buf[] = { 'a', 'b', 'c', };
+ uint8_t *out_buf, in_buf[] = {
+ 'a',
+ 'b',
+ 'c',
+ };
struct ringbuffer_consumer *rbc;
struct ringbuffer *rb;
size_t len;