From 15532e1c34234836f495d0a37abb64ed60e36a61 Mon Sep 17 00:00:00 2001 From: Stephanos Ioannidis Date: Thu, 19 Aug 2021 23:25:36 +0900 Subject: [PATCH] tests: lib: cmsis_dsp: filtering: Update FIR F32 tests for 1.9.0 This commit updates the filtering FIR Q32 test implementations for the CMSIS-DSP 1.9.0. Signed-off-by: Stephanos Ioannidis --- tests/lib/cmsis_dsp/filtering/src/fir_f32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lib/cmsis_dsp/filtering/src/fir_f32.c b/tests/lib/cmsis_dsp/filtering/src/fir_f32.c index 0ddc39e1804..6f634da46c4 100644 --- a/tests/lib/cmsis_dsp/filtering/src/fir_f32.c +++ b/tests/lib/cmsis_dsp/filtering/src/fir_f32.c @@ -30,7 +30,7 @@ static void test_arm_fir_f32(void) arm_fir_instance_f32 inst; /* Allocate buffers */ - state = malloc(64 * sizeof(float32_t)); + state = malloc(2 * 47 * sizeof(float32_t)); zassert_not_null(state, ASSERT_MSG_BUFFER_ALLOC_FAILED); output_buf = malloc(length * sizeof(float32_t));