OSDN Git Service

Sorry. Bug fixed.
authorShinichiro <shinta.main.jp@gmail.com>
Sat, 8 Sep 2012 18:04:20 +0000 (03:04 +0900)
committerShinichiro <shinta.main.jp@gmail.com>
Sat, 8 Sep 2012 18:04:20 +0000 (03:04 +0900)
firm/bare_metal/fft_speana/main.c

index 904a015..196b538 100644 (file)
@@ -221,9 +221,16 @@ int main(void)
     /*
      * \91\8b\8aÖ\90\94\82ð\8dì\90¬
      */
+#if 0
+    /*
+     * Select window function from the three types of the window.
+     */
     gen_hamming_fr16(w.fft.window, 1, FFT_SIZE);     // \83n\83~\83\93\83O\91\8b
     gen_rectangular_fr16(w.fft.window, 1, FFT_SIZE); // \92Z\8ca\91\8b
     gen_hanning_fr16(w.fft.window, 1, FFT_SIZE);     // \83n\83j\83\93\83O\91\8b
+#else
+    gen_hanning_fr16(w.fft.window, 1, FFT_SIZE);     // \83n\83j\83\93\83O\91\8b
+#endif
 
     /*
      * \89ñ\93]\88ö\8eq\83e\81[\83u\83\8b\82ð\8dì\90¬