Jelajahi Sumber

CMSIS-DSP: Removed compilation warning.

Christophe Favergeon 5 tahun lalu
induk
melakukan
2cb4b09420
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      CMSIS/DSP/Source/TransformFunctions/arm_rfft_fast_f32.c

+ 2 - 2
CMSIS/DSP/Source/TransformFunctions/arm_rfft_fast_f32.c

@@ -392,7 +392,7 @@ void stage_rfft_f32(
       pA += 2;
       pB -= 2;
       k--;
-   } while (k > 0U);
+   } while (k > 0);
 }
 
 /* Prepares data for inverse cfft */
@@ -422,7 +422,7 @@ void merge_rfft_f32(
    pB  =  p + 2*k ;
    pA +=  2	   ;
 
-   while (k > 0U)
+   while (k > 0)
    {
       /* G is half of the frequency complex spectrum */
       //for k = 2:N