Fwd: [Commit-gnuradio] r6369 - gnuradio/trunk/gr-utils/src/p

Here is a patch to add this method to the base class, since this will
produce an error if trying “-A” on a subdev that’s not an RFX. - MLD

Index: gr-usrp/src/db_base.py

— gr-usrp/src/db_base.py (revision 6375)
+++ gr-usrp/src/db_base.py (working copy)
@@ -254,3 +254,10 @@
Should be overriden by daughterboards that care.
“”"
return 0.0
+

  • def select_rx_antenna(self, which_antenna):
  •    """
    
  •    Specify which antenna port to use for reception.
    
  •    Works for RFX boards only, so the default method does nothing.
    
  •    """
    
  •    pass
    

===================================================================

Michael D. wrote:

Here is a patch to add this method to the base class, since this will
produce an error if trying “-A” on a subdev that’s not an RFX. - MLD

Thanks, this has been updated on the trunk.


Johnathan C.
Corgan Enterprises LLC
http://corganenterprises.com

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs