Skip to content
This repository was archived by the owner on Jul 21, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions CMSIS/Include/arm_math.h
Original file line number Diff line number Diff line change
Expand Up @@ -5859,12 +5859,13 @@ void arm_rfft_fast_f32(
uint32_t blockSize)
{
uint32_t i = 0u;
int32_t rOffset, dst_end;
int32_t rOffset;
int32_t* dst_end;

/* Copy the value of Index pointer that points
* to the current location from where the input samples to be read */
rOffset = *readOffset;
dst_end = (int32_t) (dst_base + dst_length);
dst_end = dst_base + dst_length;

/* Loop over the blockSize */
i = blockSize;
Expand All @@ -5877,7 +5878,7 @@ void arm_rfft_fast_f32(
/* Update the input pointer */
dst += dstInc;

if(dst == (int32_t *) dst_end)
if(dst == dst_end)
{
dst = dst_base;
}
Expand Down Expand Up @@ -5958,13 +5959,14 @@ void arm_rfft_fast_f32(
uint32_t blockSize)
{
uint32_t i = 0;
int32_t rOffset, dst_end;
int32_t rOffset;
q15_t* dst_end;

/* Copy the value of Index pointer that points
* to the current location from where the input samples to be read */
rOffset = *readOffset;

dst_end = (int32_t) (dst_base + dst_length);
dst_end = dst_base + dst_length;

/* Loop over the blockSize */
i = blockSize;
Expand Down Expand Up @@ -6058,13 +6060,14 @@ void arm_rfft_fast_f32(
uint32_t blockSize)
{
uint32_t i = 0;
int32_t rOffset, dst_end;
int32_t rOffset;
q7_t* dst_end;

/* Copy the value of Index pointer that points
* to the current location from where the input samples to be read */
rOffset = *readOffset;

dst_end = (int32_t) (dst_base + dst_length);
dst_end = dst_base + dst_length;

/* Loop over the blockSize */
i = blockSize;
Expand Down