diff --git a/lib/src/bofuart.cpp b/lib/src/bofuart.cpp index b82a501..e160d48 100644 --- a/lib/src/bofuart.cpp +++ b/lib/src/bofuart.cpp @@ -400,7 +400,8 @@ BofUart::BofUart(const BOF_UART_PARAM &_rUartParam_X) BofRawCircularBufferParam_X.Reset(); BofRawCircularBufferParam_X.MultiThreadAware_B = true; BofRawCircularBufferParam_X.BufferSizeInByte_U32 = mUartParam_X.BaseChannelParam_X.SndBufferSize_U32; - BofRawCircularBufferParam_X.NbMaxSlot_U32 = 0; + BofRawCircularBufferParam_X.SlotMode_B = false; + BofRawCircularBufferParam_X.NbMaxBufferEntry_U32 = 128; BofRawCircularBufferParam_X.pData_U8 = nullptr; mpTxData_O = new BofRawCircularBuffer(BofRawCircularBufferParam_X); diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 4c00a0b..74e5714 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -214,7 +214,7 @@ configure_file( @ONLY ) include(${CMAKE_CURRENT_BINARY_DIR}/vld.cmake) -### VLD ########################################### +### VLD ######################################## target_link_libraries(ut_bofstd PRIVATE