From d3af641f7cc04916f361dd43728a970747bd70f7 Mon Sep 17 00:00:00 2001 From: Stephanos Ioannidis Date: Thu, 19 Aug 2021 23:24:38 +0900 Subject: [PATCH] tests: lib: cmsis_dsp: filtering: Update FIR Q15 tests for 1.9.0 This commit updates the filtering FIR Q15 test implementations for the CMSIS-DSP 1.9.0. Signed-off-by: Stephanos Ioannidis --- tests/lib/cmsis_dsp/filtering/src/fir_q15.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lib/cmsis_dsp/filtering/src/fir_q15.c b/tests/lib/cmsis_dsp/filtering/src/fir_q15.c index 5b175b7bd39..eb562d83736 100644 --- a/tests/lib/cmsis_dsp/filtering/src/fir_q15.c +++ b/tests/lib/cmsis_dsp/filtering/src/fir_q15.c @@ -30,7 +30,7 @@ static void test_arm_fir_q15(void) arm_fir_instance_q15 inst; /* Allocate buffers */ - state = malloc(64 * sizeof(q15_t)); + state = malloc(3 * 41 * sizeof(q15_t)); zassert_not_null(state, ASSERT_MSG_BUFFER_ALLOC_FAILED); output_buf = malloc(length * sizeof(q15_t));