fix(esp_ringbuf): Updated esp_ringbuf to follow astyle format
This commit updates the esp_ringbuf component to follow astyle formatting.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2015-2023 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2015-2024 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@@ -650,7 +650,7 @@ static void queue_set_receiving_task(void *queue_set_handle)
|
||||
receive_check_and_return_item_byte_buffer(buffer_handles[2], small_item, SMALL_ITEM_SIZE, 0, false);
|
||||
items_rec_count[2] ++;
|
||||
} else {
|
||||
TEST_ASSERT_MESSAGE( false, "Error with queue set member");
|
||||
TEST_ASSERT_MESSAGE(false, "Error with queue set member");
|
||||
}
|
||||
|
||||
//Check for completion
|
||||
@@ -1045,7 +1045,7 @@ static IRAM_ATTR __attribute__((noinline)) bool iram_ringbuf_test(void)
|
||||
|
||||
TEST_CASE("Test ringbuffer functions work with flash cache disabled", "[esp_ringbuf]")
|
||||
{
|
||||
TEST_ASSERT( iram_ringbuf_test() );
|
||||
TEST_ASSERT(iram_ringbuf_test());
|
||||
}
|
||||
#endif /* !CONFIG_RINGBUF_PLACE_FUNCTIONS_INTO_FLASH && !CONFIG_RINGBUF_PLACE_ISR_FUNCTIONS_INTO_FLASH */
|
||||
|
||||
@@ -1111,7 +1111,7 @@ TEST_CASE("Test ringbuffer with caps", "[esp_ringbuf]")
|
||||
StaticRingbuffer_t *rb_obj;
|
||||
|
||||
// Create ring buffer with caps
|
||||
rb_handle = xRingbufferCreateWithCaps(BUFFER_SIZE, RINGBUF_TYPE_NOSPLIT, (MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT));
|
||||
rb_handle = xRingbufferCreateWithCaps(BUFFER_SIZE, RINGBUF_TYPE_NOSPLIT, (MALLOC_CAP_INTERNAL | MALLOC_CAP_8BIT));
|
||||
TEST_ASSERT_NOT_EQUAL(NULL, rb_handle);
|
||||
|
||||
// Get the ring buffer's memory
|
||||
|
||||
Reference in New Issue
Block a user