Wykres commitów

164 Commity (d2504ff9088136aba2500d267f11673c649c4f17)

Autor SHA1 Wiadomość Data
Michael Black cef4178825
Fix cppcheck warnings in ar7030p.c 2020-01-14 10:50:59 -06:00
Michael Black 7cf4d61158
Fix cppcheck warning in ar7030p_utils.c 2020-01-13 22:56:53 -06:00
Michael Black 51739f4596
Fix cppcheck warning in ar7030p.c 2020-01-13 22:56:03 -06:00
Michael Black dc92ae7843
Fix cppcheck warnings 2020-01-13 15:12:56 -06:00
Michael Black d89a77ab88
Fix cppcheck warning in sr2200.c 2020-01-12 08:13:02 -06:00
Michael Black 94f0d6d852
Fix cppcheck warning in aor 2020-01-12 08:09:30 -06:00
Michael Black 6ccb7ed9ee
Fix cppcheck warning in aor.c 2020-01-12 07:57:52 -06:00
Michael Black 7ee3a702f5
Replace all usleep with hl_usleep
Several places where usleep max value could be overflowed
New hl_usleep can take values > 1000000
2020-01-07 23:18:56 -06:00
Michael Black 5ce7169cbf
Fix cppcheck warning in ar7030p_utils.c 2019-12-24 23:25:08 -06:00
Michael Black 2fe051e764
Fix compile warning on ar7030p_utils.c 2019-12-19 09:50:47 -06:00
Michael Black e61ce986c8
Fix cppcheck warnings in ar7030a_utilsp.c 2019-12-18 17:35:35 -06:00
Michael Black 83856e679d
Fix cppcheck warning in ar7030p.c 2019-12-18 17:28:23 -06:00
Michael Black 444fcfa575 Replace XOPEN with AC_USE_SYSTEM_EXTENSIONS 2019-12-10 15:54:12 -06:00
Michael Black 3220c37ff2
Change XOPEN to 600 2019-12-10 14:50:24 -06:00
Michael Black 3a3d66d52d Now compiles with -std=c99 and no c99 warnings 2019-12-09 22:45:37 -06:00
Michael Black fb73e5abd7
Fix some cppcheck warnings
Fix declarations after statements
Remove some !rig checks...we either don't need them or need them everywhere with a new error code
If you pass a NULL rig you get what you deserve :-)
2019-12-09 17:12:13 -06:00
Michael Black 9e1d881c7e
Clean up most of the cppcheck warnings in aor 2019-12-06 16:17:44 -06:00
Michael Black dac1750120
Fix cppcheck warning ar7030.c 2019-12-06 15:39:42 -06:00
Michael Black 8bf9942736
Fix cppcheck warnings in aor 2019-12-06 15:35:52 -06:00
Michael Black 6bf3b00c4f
astyle all files 2019-11-30 10:19:08 -06:00
Michael Black 72087f1b10
Change all __FUNCTION__ to __func__ 2019-11-30 10:16:28 -06:00
Michael Black 2f4d62709e
Added a dummy snprintf to rig_debug to allow gcc to check format strings
This found tons of errors in rig_debug statements
So this patch cleans up all the files that were producing warnings or errors
This should fix a few segfaults when running with debug turned on
2019-11-30 10:04:31 -06:00
Michael Black 73c1ecd165
Change freq & chan struct start/end to avoid colliding with LUA SWIG start/end 2019-08-17 23:20:48 -05:00
Michael Black W9MDB 281e83332a Fix compile warnings for aor 2018-04-22 18:38:16 -05:00
Michael Black W9MDB 7893b9f6d8 Update AOR 3030 to actually work now. Tested with WSJT-X 2018-03-19 14:23:23 -04:00
Michael Black W9MDB 0b1a58d308 Fixed indentation warnings detected by newer gcc
Fixed one error discovered by these warnings in easycomm.c
2017-06-28 18:00:20 +01:00
Bill Somerville 222ad74de7 Add RIG_PASSBAND_NOCHANGE as possible set_{split_,split_freq_,}mode argument
This change  allows the set_mode  functions to leave the  rig passband
unchanged  if required.  For the  few rigs  that do  not have  explcit
passband width control either current state is read and rewritten or a
"normal" width  is chosen e.g. select  a normal width when  there is a
choice like CW and CW-NARROW.
2016-04-19 21:27:52 +01:00
Bill Somerville 7d01e0fc4d RIG_OK is zero and need not be negated and this will not change 2014-10-18 20:31:47 +01:00
Ladislav Vaiz f632695131 Android build updates for monolithic build
Android is now built as a static library.

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2013-09-19 07:25:08 -05:00
Nate Bargmann 332a04b7cd Clean up backend Makefile.am files
Moved all backend *.h files into the SOURCES primary as Automake
documentation states all source file types should be listed.  This
causes Automake to include *.h files in rebuild rules for the targets.

Removed the '-DIN_HAMLIB' assignment from the CFLAGS primary in each
backend and assigned it to AM_CPPFLAGS in configure.ac.  The effect is
the same and it simplifies the backend Makefile.am files.

Removed all commented lines.
2013-09-16 21:51:39 -05:00
Remi Chateauneu 60019c9444 Monolitic libraries. 2013-09-08 14:56:28 +01:00
Ladislav Vaiz 6d4295af2c Add Android build support
Android makefile fragments are distributed as extra distribution files
by the GNU build system but are otherwise ignored.  The Android build
support is independent and does not rely on the GNU build system.

See android/README.android for more info.

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2013-04-26 22:31:56 -05:00
Larry Gadallah 531d45192f AR7030+: Error reading signal strength for low signal levels.
SF Bug ID 3527331

Action: Using rigctl, request signal strength (STRENGTH) for
a low signal level (~ < -100 dBm)
Expected result: Read a signal level of -100 or less
Actual result: Impossibly large negative value is returned.

Error found in initialization of a variable. Some (useful)
instrumentation was also added to help with future debugging.
2012-06-23 17:24:20 +02:00
Nate Bargmann 01ab10bf10 Include backend specific notes with 'make dist'
(cherry picked from commit 20814924b2)
2012-03-01 21:23:16 -06:00
Nate Bargmann be2fefcf18 Update version of modified backends
Per Stephane's request, updated the version string of backends modified
since 1.2.14 release.  Newly added backends were left alone.
2012-02-02 20:10:37 -06:00
Nate Bargmann c1b077c61c Remove set but unused variable errors in aor. 2011-08-25 10:56:18 -05:00
Nate Bargmann b5e4c4e853 Update LGPL header in AOR source files.
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:34 -05:00
Kamal Mostafa, KA6MAL ad1cf04ea7 source warnings cleanup: #if-0 out a few unused routines
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3063 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-02-27 22:42:17 +00:00
Nate Bargmann, N0NB 80ce6175d7 Bug-fix to AOR SR-2200
Fixed S-Meter read-out: not readings are calibrated in S units
 Fixed pre-amp control: now it works under GRig

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

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3051 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-02-16 12:32:37 +00:00
Stéphane Fillod, F8CFE 01e2396ead - revert creation of RIG_MODE_WAM and RIG_MODE_SFM
- sr2200:
  - fix filter width of WFM
  - prevent symbol littering


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3044 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-02-08 22:21:11 +00:00
Nate Bargmann, N0NB bd20ccd356 AOR SR2200 backend added by Stefano Speretta
New backend, SR2200, heavily derived from AR8200 backend. From Stefano
Speretta <s.speretta@isispace.nl>.

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3025 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-01-28 00:32:55 +00:00
Kamal Mostafa, KA6MAL 2567b93af7 Move backend libraries into /usr/lib/hamlib directory.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2988 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-09-26 02:23:50 +00:00
Stéphane Fillod, F8CFE 8411d9d1d7 * aor_transaction: handle rigs configured to return extra LF
* fix RIG_LEVEL_RAWSTR for AR8600, and possibly AR8000
* S-meter caliration data for AR8600 from Mark P. Grimes, WAØTOP
* S-meter caliration data for AR8200 from AR8200 Bulletin


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2951 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-08-20 08:18:23 +00:00
Stéphane Fillod, F8CFE e41912412f compile portability
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2881 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-16 19:08:58 +00:00
Stéphane Fillod, F8CFE 1404b754fe portability of long long
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2880 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-16 19:04:00 +00:00
Nate Bargmann, N0NB 5dad9c663f Add ar7030p.h to noninst_HEADERS
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2810 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-01-20 02:00:34 +00:00
Larry Gadallah, VE6VQ b19c56297d Added various memory/VFO functions.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2809 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-01-16 08:11:15 +00:00
Larry Gadallah, VE6VQ 708bb709a9 Added implementation for pbsToHz() and hzToPBS() helper functions.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2808 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-01-16 08:09:55 +00:00
Larry Gadallah, VE6VQ ba2e011bee Added prototypes for pbsToHz() and hzToPBS() helper functions. Added comments to denote mey_sq, mey_pb, and mey_id labels
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2807 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-01-16 08:08:24 +00:00
Larry Gadallah, VE6VQ e4ad26d621 Added init/cleanup functions, started implementation of mem/channel access functions
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2804 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-01-08 06:28:16 +00:00