summaryrefslogtreecommitdiff
path: root/usrp/host/lib/usrp_prims_libusb0.cc
diff options
context:
space:
mode:
authorJohnathan Corgan <jcorgan@corganenterprises.com>2009-10-01 13:51:03 -0700
committerJohnathan Corgan <jcorgan@corganenterprises.com>2009-10-01 13:51:03 -0700
commitf4a86ccaa23e7e513dbbfa45456ea5783c106ec0 (patch)
tree745a3255d003b2e139372ac0f20523a4aa98cdeb /usrp/host/lib/usrp_prims_libusb0.cc
parent6f820db7a8076d38eb2633f44916e2328708ea42 (diff)
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_prims_libusb0.cc')
-rw-r--r--usrp/host/lib/usrp_prims_libusb0.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/usrp/host/lib/usrp_prims_libusb0.cc b/usrp/host/lib/usrp_prims_libusb0.cc
index 23d278fe86..7a82eabfaf 100644
--- a/usrp/host/lib/usrp_prims_libusb0.cc
+++ b/usrp/host/lib/usrp_prims_libusb0.cc
@@ -1,19 +1,19 @@
/* -*- c++ -*- */
/*
* Copyright 2003,2004,2006,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,
@@ -109,7 +109,7 @@ usrp_find_device (int nth, bool fx2_ok_p, libusb_context *ctx)
int n_found = 0;
usrp_one_time_init ();
-
+
p = usb_get_busses();
while (p != NULL){
q = p->devices;
@@ -147,7 +147,7 @@ usrp_open_interface (struct usb_device *dev, int interface, int altinterface)
// Appears to be required for libusb-win32 and Cygwin -- dew 09/20/06
if (usb_set_configuration (udh, 1) < 0){
/*
- * Ignore this error.
+ * Ignore this error.
*
* Seems that something changed in drivers/usb/core/devio.c:proc_setconfig such that
* it returns -EBUSY if _any_ of the interfaces of a device are open.