root / gnuradio-core / src / lib / io / microtune_xxxx.cc @ 800c7af0
History | View | Annotate | Download (1.1 kB)
| 1 | 5d69a524 | jcorgan | /* -*- c++-*- */
|
|---|---|---|---|
| 2 | 5d69a524 | jcorgan | /*
|
| 3 | 5d69a524 | jcorgan | * Copyright 2001,2003,2004 Free Software Foundation, Inc. |
| 4 | 5d69a524 | jcorgan | * |
| 5 | 5d69a524 | jcorgan | * This file is part of GNU Radio |
| 6 | 5d69a524 | jcorgan | * |
| 7 | 5d69a524 | jcorgan | * GNU Radio is free software; you can redistribute it and/or modify |
| 8 | 5d69a524 | jcorgan | * it under the terms of the GNU General Public License as published by |
| 9 | 5d69a524 | jcorgan | * the Free Software Foundation; either version 2, or (at your option) |
| 10 | 5d69a524 | jcorgan | * any later version. |
| 11 | 5d69a524 | jcorgan | * |
| 12 | 5d69a524 | jcorgan | * GNU Radio is distributed in the hope that it will be useful, |
| 13 | 5d69a524 | jcorgan | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | 5d69a524 | jcorgan | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | 5d69a524 | jcorgan | * GNU General Public License for more details. |
| 16 | 5d69a524 | jcorgan | * |
| 17 | 5d69a524 | jcorgan | * You should have received a copy of the GNU General Public License |
| 18 | 5d69a524 | jcorgan | * along with GNU Radio; see the file COPYING. If not, write to |
| 19 | 86f5c924 | eb | * the Free Software Foundation, Inc., 51 Franklin Street, |
| 20 | 86f5c924 | eb | * Boston, MA 02110-1301, USA. |
| 21 | 5d69a524 | jcorgan | */ |
| 22 | 5d69a524 | jcorgan | |
| 23 | 5d69a524 | jcorgan | #include "microtune_xxxx.h" |
| 24 | 5d69a524 | jcorgan | |
| 25 | 5d69a524 | jcorgan | microtune_xxxx::~microtune_xxxx () |
| 26 | 5d69a524 | jcorgan | {
|
| 27 | 5d69a524 | jcorgan | // nop
|
| 28 | 5d69a524 | jcorgan | } |
| 29 | 5d69a524 | jcorgan | |
| 30 | 5d69a524 | jcorgan | double
|
| 31 | 5d69a524 | jcorgan | microtune_xxxx::set_RF_freq (double target_freq)
|
| 32 | 5d69a524 | jcorgan | {
|
| 33 | 5d69a524 | jcorgan | double actual_freq = 0.0; |
| 34 | 5d69a524 | jcorgan | |
| 35 | 5d69a524 | jcorgan | if (set_RF_freq (target_freq, &actual_freq))
|
| 36 | 5d69a524 | jcorgan | return actual_freq;
|
| 37 | 5d69a524 | jcorgan | |
| 38 | 5d69a524 | jcorgan | return 0.0; |
| 39 | 5d69a524 | jcorgan | } |
| 40 | 5d69a524 | jcorgan | |
| 41 | 5d69a524 | jcorgan |