Wykres commitów

13 Commity (0b71ba91a1646622892ea8415c857915427e1c53)

Autor SHA1 Wiadomość Data
Nate Bargmann 82e31653a1 Quell gcc 8.2.0 warning of uninitialized value
On Debian Buster gcc ((Debian 8.2.0-8) 8.2.0) was throwing the following
warnings:

  CC       funcube.lo
../../hamlib/kit/funcube.c: In function ‘funcubepro_get_level’:
../../hamlib/kit/funcube.c:783:87: warning: ‘au8BufOut[3]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     __func__, au8BufOut[0] & 0xFF, au8BufOut[1] & 0xFF, au8BufOut[2] & 0xFF, au8BufOut[3] & 0xFF);
                                                                              ~~~~~~~~~^~~
../../hamlib/kit/funcube.c:783:66: warning: ‘au8BufOut[2]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     __func__, au8BufOut[0] & 0xFF, au8BufOut[1] & 0xFF, au8BufOut[2] & 0xFF, au8BufOut[3] & 0xFF);
                                                         ~~~~~~~~~^~~
../../hamlib/kit/funcube.c:783:45: warning: ‘au8BufOut[1]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     __func__, au8BufOut[0] & 0xFF, au8BufOut[1] & 0xFF, au8BufOut[2] & 0xFF, au8BufOut[3] & 0xFF);
                                    ~~~~~~~~~^~~
../../hamlib/kit/funcube.c: In function ‘funcubepro_set_level’:
../../hamlib/kit/funcube.c:730:87: warning: ‘au8BufOut[3]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     __func__, au8BufOut[0] & 0xFF, au8BufOut[1] & 0xFF, au8BufOut[2] & 0xFF, au8BufOut[3] & 0xFF);
                                                                              ~~~~~~~~~^~~
../../hamlib/kit/funcube.c:730:66: warning: ‘au8BufOut[2]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     __func__, au8BufOut[0] & 0xFF, au8BufOut[1] & 0xFF, au8BufOut[2] & 0xFF, au8BufOut[3] & 0xFF);
                                                         ~~~~~~~~~^~~

Initialize au8BufOut and au8BufIn to 0 to quell the warning.
2018-10-25 20:44:59 -05:00
Michael Black W9MDB 20d1818af4 Fix compile warnings for kit 2018-04-22 18:38:16 -05:00
dl1ksv 6bac8422f3 Adding correct get/set functions for LNA- Mixer- IF gain of the FuncubePro+ 2018-04-22 11:35:57 -05:00
Michael Black 199111bcc4 Changed some modules to LGPL in lieu of GPL 2016-10-31 11:05:24 -05:00
Nate Bargmann 6a3214fd43 Apply Linux C style
Update files modified to support libusb-1.0.
2016-02-21 14:56:44 -06:00
Nate Bargmann 9ec98e0fe3 Check for libusb-1.0/libusb.h
Some distributions--Debian and Alpine tested--put libusb.h under the
libusb-1.0 directory.  Test for its presence and if found define
HAVE_LIBUSB_1_0_LIBUSB_H.  Also test for HAVE_LIBUSB or
HAVE_LIBUSB_1_0_LIBUSB_H and conditionally include the correct header
file in the sources.
2016-02-15 08:10:07 -06:00
Stephane Fillod 8d7697c3bd Migrating from libusb-0.1 to libusb-1.0 2016-02-14 18:02:26 +01:00
Ladislav Vaiz df114a64bc Initial support for FUNcube Dongle Pro
I wrote first support for new version of FUNcube Dongle. Differences
against original FCD are changed USB PID and wider frequency range.

73 Lada, OK1ZIA

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2014-04-27 10:36:59 -05:00
Kamal Mostafa 3466512dbd Fix spelling errors 2012-08-21 19:54:50 -07:00
Nate Bargmann 1fbece183b Update LGPL header in kit source files.
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:35 -05:00
Stephane Fillod 7b73db7c1f Make usb_set_configuration() optional upon backend choice, disable it for FUNcude dongle
The call to usb_set_configuration() looks troublesome for the setup
for the FUNcube dongle on Win32 target. In fact it appears not to be
necessary (TBC). Make that call optional per backend choice.
2011-04-11 23:24:44 +02:00
Nate Bargmann, N0NB 931ae29e3c Added attenuator, preamplifier and RSSI to FUNcube
The Attenuator/Preamp has been added: not all the LNA values have been
added because Hamlib can only have maximum 8 values and FUNcube has
more.

The RSSI readout is performed on the IF and it is not calibrated. To
calibrate it, it would be necessary to read all the gains in the
complete chain to compute the real RSSI.

The driver now also supports firmware versions 1.x.

Author: Stefano Speretta, Innovative Solutions In Space BV
<s.speretta@isispace.nl>

Signed-off-by: Stefano Speretta <s.speretta@isispace.nl>

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3053 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-02-17 12:22:20 +00:00
Nate Bargmann, N0NB 53dad4d957 FUNcube interface added by Stefano Speretta
Added FUNcube interface to Hamlib.  This is a basic FUNcube interface:
at the moment only frequency set/readout is supported.  From Stefano
Speretta <s.speretta@isispace.nl>.

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3026 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-01-28 00:40:45 +00:00