commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 09/57: documentation - fix example in case


From: git
Subject: [Commit-gnuradio] [gnuradio] 09/57: documentation - fix example in case anyone gets confused
Date: Wed, 21 May 2014 03:10:25 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

trondeau pushed a commit to branch master
in repository gnuradio.

commit b118a4432d550222ac894e6a4d2e24ae35d06632
Author: mi-a <address@hidden>
Date:   Sat Apr 19 13:37:38 2014 +0300

    documentation - fix example in case anyone gets confused
---
 docs/doxygen/other/main_page.dox | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/doxygen/other/main_page.dox b/docs/doxygen/other/main_page.dox
index dde7610..62ea8a9 100644
--- a/docs/doxygen/other/main_page.dox
+++ b/docs/doxygen/other/main_page.dox
@@ -79,7 +79,7 @@ done. A single source and sink are used with a FIR filter 
between
 them.
 
 \code
-    from gnuradio import gr, filter, analog
+    from gnuradio import gr, blocks, filter, analog
 
     class my_topblock(gr.top_block):
         def __init__(self):
@@ -88,7 +88,7 @@ them.
             amp = 1
             taps = filter.firdes.low_pass(1, 1, 0.1, 0.01)
 
-            self.src = analog.noise_source_c(gr.GR_GAUSSIAN, amp)
+            self.src = analog.noise_source_c(analog.GR_GAUSSIAN, amp)
             self.flt = filter.fir_filter_ccf(1, taps)
             self.snk = blocks.null_sink(gr.sizeof_gr_complex)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]