Wykres commitów

4008 Commity (9c1cc8d4cebdd84de7feb83b7eddc8111fbd62a8)

Autor SHA1 Wiadomość Data
Sebastian Denz 9c1cc8d4ce emulate split mode for gpredict duplextrx 2018-12-04 13:39:55 +01:00
Sebastian Denz 3638a92245 fix thd74_get_mem 2018-11-22 21:12:58 +01:00
Sebastian Denz 4a9725493a fix ptt and apply astyle 2018-11-21 22:39:33 +01:00
Sebastian Denz cc06bbe52a Merge branch 'master' of github.com:denzs/Hamlib 2018-11-21 22:13:17 +01:00
Sebastian Denz a2e692949c fix thd74_set_mem 2018-11-21 22:13:00 +01:00
Sebastian Denz 6c0282d3c4 set version of to 0.1 2018-11-21 08:02:04 +01:00
Sebastian Denz fe6fc763d1 remove digital mode extension 2018-11-20 18:08:36 +01:00
Sebastian Denz 9ac16499f6 Merge remote-tracking branch 'upstream/master' 2018-11-18 21:23:27 +01:00
Sebastian Denz 13959669ce Merge remote-tracking branch 'upstream/master' 2018-11-18 21:21:44 +01:00
Nate Bargmann 4693febdd4 Merge branch 'master' of https://github.com/mdblack98/Hamlib into mdblack98-master 2018-11-14 19:12:45 -06:00
Michael Black W9MDB ee6957d186 Fix ft1000d WRITE_DELAY as 175ms was unnecessary 2018-11-14 13:07:23 -06:00
Nate Bargmann b8a241a465 Merge branch 'master' of https://github.com/mdblack98/Hamlib into mdblack98-master 2018-11-14 12:14:42 -06:00
Michael Black W9MDB a5c49b9b44 Change P command to T command to avoid EPROM burnout 2018-11-11 07:22:15 -06:00
C-Elegans d8f010cfa3
Add ability to have rigctld display transverter frequency
Use -C lo_freq=xxxxx to have rigctld add x to your vfo frequency
internally
2018-11-07 11:49:06 -05:00
Nate Bargmann a915f1e69e Quell clang6 warning of format string not a literal
The warning was:

  CC       rotctl_parse.o
../../hamlib/tests/rotctl_parse.c:1012:50: warning: format string is not a string literal (potentially insecure)
      [-Wformat-security]
            snprintf(cmd_name, sizeof(cmd_name), parsed_input[0] + 1);
                                                 ^~~~~~~~~~~~~~~~~~~
../../hamlib/tests/rotctl_parse.c:1012:50: note: treat the string as an argument to avoid this
            snprintf(cmd_name, sizeof(cmd_name), parsed_input[0] + 1);
                                                 ^
                                                 "%s",
1 warning generated.
2018-11-05 20:07:34 -06:00
Nate Bargmann 3a6f3bac96 Quell clang6 warning of integer adsolute function
Thw warning was:

  CC       meade.lo
../../hamlib/meade/meade.c:226:8: warning: using integer absolute value function 'abs' when argument is of floating point type
      [-Wabsolute-value]
    if(abs(az - priv->target_az) > 5 || abs(el - priv->target_el) > 5)
       ^
../../hamlib/meade/meade.c:226:8: note: use function 'fabsf' instead
    if(abs(az - priv->target_az) > 5 || abs(el - priv->target_el) > 5)
       ^~~
       fabsf
../../hamlib/meade/meade.c:226:41: warning: using integer absolute value function 'abs' when argument is of floating point
      type [-Wabsolute-value]
    if(abs(az - priv->target_az) > 5 || abs(el - priv->target_el) > 5)
                                        ^
../../hamlib/meade/meade.c:226:41: note: use function 'fabsf' instead
    if(abs(az - priv->target_az) > 5 || abs(el - priv->target_el) > 5)
                                        ^~~
                                        fabsf
2 warnings generated.
2018-11-05 19:53:54 -06:00
Nate Bargmann ff4f7e1235 Quell clang6 warning of absolute value function
The warning was:

  CC       optoscan.lo
../../hamlib/icom/optoscan.c:738:14: warning: absolute value function 'abs' given an argument of type 'long' but has parameter
      of type 'int' which may cause truncation of value [-Wabsolute-value]
        usec_diff = abs((state->timer_current.tv_usec) -
                    ^
../../hamlib/icom/optoscan.c:738:14: note: use function 'labs' instead
        usec_diff = abs((state->timer_current.tv_usec) -
                    ^~~
                    labs
1 warning generated.
2018-11-05 12:13:06 -06:00
Michael Black W9MDB 857f3060ee Remove TARGETABLE_MODE from ft3000 2018-11-03 16:01:05 -05:00
Nate Bargmann 982b90f754 Merge branch 'master' of https://github.com/mdblack98/Hamlib into mdblack98-master 2018-10-29 07:05:50 -05:00
Eriks Dobelis 0b71ba91a1 ft817: Moving delay value into #define section of the header 2018-10-29 08:46:42 +02:00
Michael Black W9MDB f0bcffae36 Merge remote-tracking branch 'upstream/master' 2018-10-28 16:10:30 -05:00
Michael Black W9MDB 68fb9e3c21 Add FT-DX3000 definition and promote FT-DX5000 to Stable 2018-10-28 15:57:28 -05:00
Eriks Dobelis 1e849a6ba7 ft817: adding delay before next retry after returning from tx to rx 2018-10-28 20:50:39 +02:00
Nate Bargmann 1ecadcc594 Quell various defined but not used warnings from MinGW
Enclose various variable and function definitions in CPP macro blocks to quell
warnings when cross-compiling for Microsoft Windows using MinGW.
2018-10-27 20:49:20 -05:00
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
Nate Bargmann b0ebeaeda4 Quell gcc 8.2.0 defined but not used warning
On Debian Buster gcc ((Debian 8.2.0-8) 8.2.0) was throwing the following
warning:

  CC       rigctl.o
../../hamlib/tests/rigctl.c:125:18: warning: ‘have_rl’ defined but not used [-Wunused-const-variable=]
 static const int have_rl = 0;
                  ^~~~~~~

and:

  CC       rotctl.o
../../hamlib/tests/rotctl.c:113:18: warning: ‘have_rl’ defined but not used [-Wunused-const-variable=]
 static const int have_rl = 0;
                  ^~~~~~~

Turns out I didn't have the readline-dev package installed.  As the have_rl
variable is wrapped in CPP macros, it indeed is not used when readline is not
available.
2018-10-25 18:26:25 -05:00
Nate Bargmann ac540c82cc Quell gcc 8.2.0 warning of possible truncation
On Debian Buster gcc ((Debian 8.2.0-8) 8.2.0) was throwing the following
warning:

  CC       network.lo
../../hamlib/src/network.c: In function ‘network_open’:
../../hamlib/src/network.c:245:46: warning: ‘%s’ directive output may be truncated writing up to 511 bytes into a region of size 139 [-Wformat-truncation=]
         snprintf(msg,sizeof(msg),"connect to %s failed, (trying next interface)",rp->pathname);
                                              ^~
../../hamlib/src/network.c:245:9: note: ‘snprintf’ output between 44 and 555 bytes into a destination of size 150
         snprintf(msg,sizeof(msg),"connect to %s failed, (trying next interface)",rp->pathname);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Raising the size of the msg buffer to 1024 quelled the warning.
2018-10-25 16:58:51 -05:00
Nate Bargmann 2d7d3d21df Quell gcc 8.2.0 warning of possible truncation
On Debian Buster gcc ((Debian 8.2.0-8) 8.2.0) was throwing the following
warning:

  CC       ft991.lo
../../hamlib/yaesu/ft991.c: In function ‘ft991_set_split_mode’:
../../hamlib/yaesu/ft991.c:336:5: warning: ‘strncat’ output may be truncated copying 128 bytes from a string of length 128 [-Wstringop-truncation]
     strncat (restore_commands, priv->ret_data, NEWCAT_DATA_LEN-1);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

At least now the warning is gone...
2018-10-25 16:41:33 -05:00
Michael Black W9MDB a3ea2864a7 Fix icmarine duplicate read 2018-10-25 08:37:59 -05:00
Michael Black W9MDB aadd458b99 Ensure read_string value is terminated 2018-10-25 08:37:59 -05:00
Michael Black W9MDB a95d1f1c87 Fix multi-mode-mapping 2018-10-25 08:37:59 -05:00
Michael Black W9MDB ad4536d022 Fix icmarine duplicate read 2018-10-07 08:11:30 -05:00
Michael Black W9MDB d0bb4de156 Ensure read_string value is terminated 2018-10-07 07:51:13 -05:00
Michael Black W9MDB 4f828f7215 Fix multi-mode-mapping 2018-10-03 11:29:15 -05:00
phaethon d5968a3e9a Improving reliability working with radios cloning FT817 protocol (increase timeout, double reading frequency, checking ptt status after setting it) 2018-10-01 12:23:02 -05:00
Brian G. Lucas 9dad962473 Some calls to thd72_get_menu_item where passing wrong values for range check. 2018-10-01 12:12:37 -05:00
Michael Black W9MDB 13317afb0e Update power reading values for FT900 2018-09-16 13:02:17 -05:00
Michael Black W9MDB e1196a1f22 Update power reading values for FT900 2018-09-13 15:38:42 -05:00
phl0 b2b20af07e
Ass support for CM108AH chipsets 2018-09-08 21:57:25 +02:00
Michael Black W9MDB 44b839159b Change ft100 RTTY to PKTUSB for compatibility with WSJT-X 2018-08-29 22:42:16 -05:00
Nate Bargmann 86bcdde20b Add ELAD backend info to NEWS 2018-08-21 06:19:42 -05:00
HB9EIK 0a4c71a788 Update copyright for fdm_duo.c 2018-08-21 06:07:09 -05:00
HB9EIK bde028485a Update build system for ELAD backend 2018-08-21 06:07:09 -05:00
HB9EIK 3dcdda0b7c Update ELAD files 2018-08-21 06:07:09 -05:00
HB9EIK 339c56b1d1 Initial release ELAD FDM DUO 2018-08-21 06:07:09 -05:00
Nate Bargmann ee7dc65e62 Update NEWS 2018-08-21 05:18:26 -05:00
Michael Black W9MDB ee890449cd Fix kenwood SQ squelch set by adding rx# 2018-08-16 15:31:25 -05:00
Brian G. Lucas a1cfb3804e In newcat_open(), initialize rig_id in case any subsequent commands need it. 2018-08-09 16:38:02 -05:00
Brian G. Lucas 9b2ba63b73 Fix RFPOWER level for FT-450D. It uses 5-100, rather than 0-255 that
the FT-450 does.
2018-08-09 16:19:24 -05:00
Nate Bargmann ac83428f7b Merge branch 'master' of https://github.com/JeroenVreeken/Hamlib 2018-08-05 21:11:40 -05:00