Wykres commitów

669 Commity (aa7e822d98bc55c3974a703449c23e6924ada0a5)

Autor SHA1 Wiadomość Data
Michael Black fcbb386fcd
Update comment on rig_mem_count 2020-01-19 11:14:51 -06:00
Michael Black 702535c218
Restore rig_mem_count used by rig.swg 2020-01-18 14:05:28 -06:00
Michael Black 8d6e2fc781
Directory migration to new layout 2020-01-17 09:22:44 -06:00
Michael Black 7c7ecef678
cppcheck v1.9 clean bill of health now
cppcheck.sh script added with some exceptions for some code notices
neverused.c added to resolve "never used" messages
2020-01-15 23:03:12 -06:00
Michael Black 9de3984af9
Fix cppcheck warning in parallel.c 2020-01-15 22:40:23 -06:00
Michael Black 07b7f31a52
Remove commenct in microham.c 2020-01-15 22:20:22 -06:00
Michael Black e50f552e0f Fix mingw32 build 2020-01-15 15:57:01 -06:00
Michael Black a1ec13fc14
Add C4FM mode for Yaesu FT-991 2020-01-15 08:15:29 -06:00
Michael Black 297bf9aa6b
Fix cppcheck warnings 2020-01-14 23:36:01 -06:00
Michael Black 360e3061d9
Fix up some cppcheck warnings in microham.c 2020-01-14 14:20:31 -06:00
Michael Black dc92ae7843
Fix cppcheck warnings 2020-01-13 15:12:56 -06:00
Michael Black 272803c64c
Add uh_wkey_close to microham.h 2020-01-13 07:27:41 -06:00
Michael Black be79b195b4
Fix cppcheck warning in parallel.c 2020-01-12 22:36:10 -06:00
Nate Bargmann 69e9469da3
Add sleep.h to src/Makefile.am 2020-01-10 20:05:22 -06:00
Michael Black b7e8f01701 Fix mingw32 DLL linkage of hl_sleep 2020-01-10 15:58:16 -06:00
Michael Black 5ae03f0eed
Possible fix for mingw Win32 dll linking of nanosleep 2020-01-08 22:50:37 -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 f2f56558e7
Enclose sleep replacement in HAVE_NANOSLEEP 2020-01-07 17:33:37 -06:00
Michael Black 836e5f5c17
Move time.h include to sleep.c 2020-01-06 07:25:38 -06:00
Michael Black 70115f7efd
Replace sleep macros with hamlib custom functions 2020-01-05 15:37:33 -06:00
Michael Black d7e9bfd35c
Fix mingw warning on parallel.c 2019-12-30 22:24:19 -06:00
Michael Black 6fe29ad942
Fix cppcheck warnings in rig.c 2019-12-24 15:47:06 -06:00
Michael Black 72e934b67e Fix mingw32 compilation of usb_port.c 2019-12-24 15:35:37 -06:00
Michael Black ed339b1c2b
Add sleep and usleep macros so all sleeps use nanosleep 2019-12-22 11:17:22 -06:00
Michael Black ef5d2b7838
Fix cppcheck warnings in rig.c 2019-12-19 10:57:17 -06:00
Michael Black 1715bcf422
Fix compilation error on parallel.c 2019-12-19 09:55:57 -06:00
Michael Black eb19298003
Fix cppcheck warning in register.h 2019-12-19 09:40:14 -06:00
Michael Black 8baeb4d5cf
Fix cppcheck warnings in cm108.c 2019-12-19 08:48:02 -06:00
Michael Black c71bb35ab1
Fix cppcheck warnings in parallel.c 2019-12-19 08:47:40 -06:00
Michael Black 8ff9a682cc
Add set_powerstat to icom.c and debug msg to rig.c 2019-12-16 10:51:36 -06:00
Michael Black e91df87a8f
Fix hex_dump..was printing negative values 2019-12-12 10:14:42 -06:00
Michael Black 5e44f6637e
Fix mingw compile error on rig_strrmodes 2019-12-12 09:47:24 -06:00
Michael Black b3c6b9d707
Add rig_strrmodes function and fix flrig to print mode list correctly 2019-12-12 09:13:30 -06:00
Michael Black 011efe0452
Merge branch 'master' of https://github.com/Hamlib/Hamlib 2019-12-11 07:47:24 -06:00
Nate Bargmann f1d0340b8d
Merge branch 'ampctl_mans' 2019-12-11 07:17:44 -06:00
Nate Bargmann 2c884a970a
Change ampctld default TCP port to 4531 2019-12-11 06:28:17 -06:00
Michael Black 8f205c2237
Merge branch 'master' of https://github.com/Hamlib/Hamlib 2019-12-10 07:23:24 -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
Malcolm Herring 60bf986776 Merge remote-tracking branch 'Hamlib/master' 2019-12-09 05:34:44 +00:00
Malcolm Herring 5f6e0641ad Prepare for D-STAR implementation
Add 3 new rigs: ID-31, ID-51 & ID-4100
Update other D-STAR rigs: IC-R30, IC-R8600 & IC-7100
2019-12-09 05:33:20 +00:00
Michael Black 8a3df9735e
Fix cppcheck warnings for ampctl_parse.c and redef amp_set_powerstat 2019-12-08 23:13:33 -06:00
Michael Black bc94558fe3
Fix cppcheck warnings in usb_port.c 2019-12-08 22:48:02 -06:00
Michael Black ddfa154694
Fix cppcheck warnings in rotator.c 2019-12-08 22:47:51 -06:00
Michael Black 6c0f101900
Fix cppcheck warnings in rig.c 2019-12-08 22:45:29 -06:00
Michael Black dddf63ca16
Fix cppcheck warnings in rig.c 2019-12-08 22:37:56 -06:00
Michael Black 03b39da00b
Fix cppcheck warnings in parallel.c 2019-12-08 22:35:50 -06:00
Michael Black 9aa920a873
Fix cppcheck warnings in parallel.c 2019-12-08 22:35:33 -06:00
Michael Black 8f5ac2d68c
Fix cppcheck warnings in misc.c 2019-12-08 22:29:48 -06:00
Michael Black c90b1dd7c6
Fix cppcheck warnings in microham.c 2019-12-08 22:27:44 -06:00
Michael Black 6ba8f88e2f
Fix cppcheck warnings in network.c 2019-12-08 17:09:08 -06:00
Michael Black 7020aba16d
Fix cppcheck warnings in mem.c 2019-12-08 17:04:08 -06:00
Michael Black 5be9dfe161
Fix cppcheck warnings in locator.c 2019-12-08 16:58:18 -06:00
Michael Black 1011ea16e4
Fix cppcheck warnings in iofunc.c 2019-12-08 16:56:14 -06:00
Michael Black 0ec255366f
Fix gpio file descriptor leak in gpio.c 2019-12-08 16:54:15 -06:00
Michael Black 55e36895bf
Fix cppcheck warnings in extamp.c 2019-12-08 16:36:45 -06:00
Michael Black 314fe20f39
Fix cppcheck warnings in ext.c 2019-12-08 16:35:55 -06:00
Michael Black 67c3b56ccd
Fix cppcheck warnings in event.c 2019-12-08 16:32:13 -06:00
Michael Black 531782d339
Fix cppcheck warnings in debug.c 2019-12-08 16:30:33 -06:00
Michael Black 910d799494
Fix cppcheck warnings in cm108.c 2019-12-08 16:29:39 -06:00
Michael Black 91678ef573
Fix cppcheck warnings in amplifier.c 2019-12-08 16:27:46 -06:00
Michael Black 8e5dc87ffd
Fix cppcheck warnings in amp_conf.c 2019-12-08 16:06:58 -06:00
Michael Black 09aecd5ce9
Fix uninitialize waqrning in parallel.c 2019-12-06 10:20:38 -06:00
Malcolm Herring b12a3e31b3 Fix Icom DCS SQL funnctions
Copied get/set_dcs_code functions to get/set_dcs_sql
Re-mapped all receivers DCS functiosn to sql.
2019-12-05 08:01:59 +00:00
Michael Black 12494c92d5
Add MainA, MainB, SubA, and SubB vfo choices for icom rigs with SATMODE
Clean up debug statements in icom.c
2019-12-02 07:50:05 -06:00
Michael Black dc3f33bc11
Change %z to %d with casts for portability 2019-11-30 13:05:21 -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 0c72d75b57
Add south_zero option to token.h 2019-11-23 23:10:21 -06:00
Michael Black fa2293be50
Add south_zero option to rotator.c 2019-11-23 23:09:59 -06:00
Michael Black cda5aa1b37
Add south_zero optiont to rot_conf.c 2019-11-23 23:08:27 -06:00
Michael Black dc3ae60e1c
silence some debug in misc.c 2019-11-19 11:32:39 -06:00
Michael Black fab30e07c1
Add some debug for flush 2019-09-09 12:49:11 -05: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 08df457ab2
Restore else clause in network.c -- mistakenly removed 2019-07-31 23:13:35 -05:00
Michael Black 0f404dea20
Remove unneeded debug in network_flush 2019-07-31 12:37:06 -05:00
Michael Black cf2a551524
Fixup some amplifier code 2019-06-26 06:39:42 -05:00
Michael Black b23734fb5b
Fix rig.h for merge 2019-06-12 16:13:56 -05:00
Michael Black 7e9c566944
Add first cut at amplifier control 2019-06-12 15:52:35 -05:00
Johan Ström af7bb1a0fc Backup serial options on open, restore on close
Before altering the serial port settings, make a copy of the settings
and track it by the fd. On serial port close, restore the original
settings for that port.

On Mac OS the Prolific PL2032 kernel driver locks up if closing without
first restoring the options. When this happens, further usage of the port
is impossible until computer is rebooted, which cannot even be done
without a hard power-off.
With this fix, a clean close make sure we can re-open the port again.
2019-06-09 23:22:18 +02:00
Mikael Nousiainen 45a8c5c575 More fixes to many Icom HF rig backends: tuner function, VFO tune op, rig-specific AGC levels, basic set of filters where missing, get/set split, get/set powerstat, make get/set RIT/XIT commands shared functions, add new level for Noise Blanker level, fix RIG_MODE_PKTAM and add missing PKT modes for many rigs, add dual-watch function. Add RIT/XIT functions for TS-480 and TS-890. 2019-06-01 09:51:17 +03:00
Mikael Nousiainen 3dbbe02b78 Add new levels: RFPOWER_METER, COMP_METER, VD_METER and ID_METER, supported at least by most of recent Icom rigs. Add level NOTCHF_RAW for manual notch frequency without specified unit for Icom rigs. Add level MONITOR_GAIN. Add functions DUAL_WATCH and DIVERSITY, supported now by K3/K3S. Fix VOXDELAY level commands for many Icom rigs. Add MONITOR_GAIN level for Icom rigs. Fix and add many K3 commands and add specific rig models for K3S, KX2 and KX3 -- they are very similar to K3, but have slight differences. Extend dump_caps output for rigctl: add complete details of ext levels and frequency ranges. Tests have been performed on IC-7000, IC-756ProIII, IC-7300, IC-7600 and K3. 2019-05-30 09:37:49 +03:00
Michael Black 25736acd4b
Fix CM108 ptt_bitnum for pttport 2019-05-27 23:18:43 -05:00
Michael Black 8dae7db02c astyle debug.c 2019-05-22 08:52:50 -05:00
Michael Black ba712ce904 Fix compiler warning in debug.c 2019-05-22 08:52:14 -05:00
Michael Black 37f87c9b62 astyle parallel.c 2019-05-21 12:45:09 -05:00
Michael Black 151a7059c5 Fix compile warnings in parallel.c 2019-05-21 12:42:39 -05:00
Michael Black 9570d6c669 Add flush to serial open 2019-04-02 08:49:56 -05:00
c vw 9d927d3370 typo, also include NUM_UHTYPES 2019-02-22 10:23:30 +01:00
c vw 00ff1b2832 Included MicroKeyer-III 2019-02-22 10:21:40 +01:00
Michael Black eb9e59211a network.c astyle applied 2019-02-07 11:46:52 -06:00
Michael Black 48c8247a86 Fix network_flush as it was not actually flushing before
This was causing an infinite loop and WSJT-X to lock up using flex6xxx backend
2019-02-07 11:44:33 -06:00
Michael Black 2fa14476f6 Reduce verbosity of rig_strvfo 2019-02-05 09:44:19 -06:00
Michael Black 63570dd791 Improve error handling in network_flush when disconnect happens 2019-02-05 09:40:46 -06:00
Michael Black 8f93173462 Reduce verbosity of rig_strrmode and read_string 2019-02-05 09:31:54 -06:00
Michael Black 8b695bcc03 Add BC2 and NB2 functions for newer kenwoods
Change RIG_SETTING_MAX for 64-bit compatibility
2019-01-01 12:33:22 -06:00
Michael Black 772b1ba2c1 Fix rig_idx2settings for 64-bit sprintf_list functions 2018-12-31 15:39:49 -06:00
Malcolm Herring 2ccf99da04 icr30 updates 2018-12-26 08:25:38 +00:00
Malcolm Herring 1747595f10 ICR6 new functions 2018-12-24 11:00:12 +00:00
Michael Black ce3f6806d0 Fix RIG_MODE structure in src/msic.c 2018-12-23 17:37:27 -05:00