Changeset 5564

Show
Ignore:
Timestamp:
10/28/07 18:17:14 (6 years ago)
Author:
jgaeddert
Message:

adding array of FRS channels

Location:
experimental/components/CIREN_SM/trunk/CIREN_SM
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • experimental/components/CIREN_SM/trunk/CIREN_SM/CIREN_SM.cpp

    r5563 r5564  
    2525#include <iostream> 
    2626#include "CIREN_SM.h" 
     27 
     28const float CIREN_SM_i::frs_channels[14] = { 
     29    462.5625e+06f, 
     30    462.5875e+06f, 
     31    462.6125e+06f, 
     32    462.6375e+06f, 
     33    462.6625e+06f, 
     34    462.6875e+06f, 
     35    462.7125e+06f, 
     36    467.5625e+06f, 
     37    467.5875e+06f, 
     38    467.6125e+06f, 
     39    467.6375e+06f, 
     40    467.6625e+06f, 
     41    467.6875e+06f, 
     42    467.7125e+06f}; 
    2743 
    2844CIREN_SM_i::CIREN_SM_i(const char *uuid, omni_condition *condition) : 
     
    4258 
    4359    tx_interp = 512; 
    44     tx_freq = 425000000; 
     60    tx_freq = frs_channels[4]; 
    4561    tx_gain = 1; 
    4662    tx_start = true; 
    4763    rx_decim = 256; 
    4864    rx_gain_max = 1; 
    49     rx_freq = 425000000; 
     65    rx_freq = frs_channels[2]; 
    5066    rx_gain = 1; 
    5167    rx_size = 2048; 
  • experimental/components/CIREN_SM/trunk/CIREN_SM/CIREN_SM.h

    r5563 r5564  
    122122    bool  rx_start;     ///< Start receiver flag 
    123123 
     124    // Frequencies list for the 14 FRS channels 
     125    static const float frs_channels[14]; 
     126 
    124127    /// Transmit control port for configuring the USRP 
    125128    standardInterfaces_i::TX_Control_u *TXControl;