diff options
author | Johnathan Corgan | 2009-10-01 13:51:03 -0700 |
---|---|---|
committer | Johnathan Corgan | 2009-10-01 13:51:03 -0700 |
commit | f4a86ccaa23e7e513dbbfa45456ea5783c106ec0 (patch) | |
tree | 745a3255d003b2e139372ac0f20523a4aa98cdeb /usrp/host/lib/usrp_basic_libusb1.cc | |
parent | 6f820db7a8076d38eb2633f44916e2328708ea42 (diff) | |
download | gnuradio-f4a86ccaa23e7e513dbbfa45456ea5783c106ec0.tar.gz gnuradio-f4a86ccaa23e7e513dbbfa45456ea5783c106ec0.tar.bz2 gnuradio-f4a86ccaa23e7e513dbbfa45456ea5783c106ec0.zip |
Cleanup in preparation for merge
Fix trailing whitespace
Use standard include guards
Add more missing config.h includes
Fixup emacs mode strings
Update copyright notices
Diffstat (limited to 'usrp/host/lib/usrp_basic_libusb1.cc')
-rw-r--r-- | usrp/host/lib/usrp_basic_libusb1.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/usrp/host/lib/usrp_basic_libusb1.cc b/usrp/host/lib/usrp_basic_libusb1.cc index 64cff6078..35009dc66 100644 --- a/usrp/host/lib/usrp_basic_libusb1.cc +++ b/usrp/host/lib/usrp_basic_libusb1.cc @@ -1,19 +1,19 @@ /* -*- c++ -*- */ /* * Copyright 2003,2004,2008,2009 Free Software Foundation, Inc. - * + * * This file is part of GNU Radio - * + * * GNU Radio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3, or (at your option) * any later version. - * + * * GNU Radio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with GNU Radio; see the file COPYING. If not, write to * the Free Software Foundation, Inc., 51 Franklin Street, @@ -57,7 +57,7 @@ static const double POLLING_INTERVAL = 0.1; // seconds // Given: // CLKIN = 64 MHz -// CLKSEL pin = high +// CLKSEL pin = high // // These settings give us: // CLKOUT1 = CLKIN = 64 MHz @@ -74,7 +74,7 @@ static unsigned char common_regs[] = { REG_AUX_ADC_CLK, AUX_ADC_CLK_CLK_OVER_4 }; -usrp_basic::usrp_basic (int which_board, +usrp_basic::usrp_basic (int which_board, struct libusb_device_handle * open_interface (struct libusb_device *dev), const std::string fpga_filename, @@ -88,7 +88,7 @@ usrp_basic::usrp_basic (int which_board, * SWAG: Scientific Wild Ass Guess. * * d_usb_data_rate is used only to determine how often to poll for over- and under-runs. - * We defualt it to 1/2 of our best case. Classes derived from usrp_basic (e.g., + * We defualt it to 1/2 of our best case. Classes derived from usrp_basic (e.g., * usrp_standard_tx and usrp_standard_rx) call set_usb_data_rate() to tell us the * actual rate. This doesn't change our throughput, that's determined by the signal * processing code in the FPGA (which we know nothing about), and the system limits |