From c69530dfbdea2b067f45be216f3039aa4d180d07 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 2 May 2023 13:45:50 -0400 Subject: Fix code formatting --- test/ringbuffer_test.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/ringbuffer_test.cpp b/test/ringbuffer_test.cpp index e5d31e3..67b740f 100644 --- a/test/ringbuffer_test.cpp +++ b/test/ringbuffer_test.cpp @@ -49,9 +49,9 @@ reader(Context& ctx) { printf("Reader starting\n"); - int ref_msg[MSG_SIZE]; // Reference generated for comparison - int read_msg[MSG_SIZE]; // Read from ring - int start = gen_msg(ref_msg, 0); + int ref_msg[MSG_SIZE]; // Reference generated for comparison + int read_msg[MSG_SIZE]; // Read from ring + int start = gen_msg(ref_msg, 0); for (size_t i = 0; i < ctx.n_writes; ++i) { if (ctx.ring->read_space() >= MSG_SIZE * sizeof(int)) { const uint32_t n_read = ctx.ring->read(MSG_SIZE * sizeof(int), read_msg); -- cgit v1.2.1