Wykres commitów

26 Commity (master)

Autor SHA1 Wiadomość Data
Mike Black W9MDB de71976044 Fix CPU usage with rigctlcom in sleep.c
Hopefully doesn't affect other things too much
2024-03-30 23:40:59 -05:00
Mike Black W9MDB e267c62764 astyle files 2023-12-16 11:37:58 -06:00
Mike Black W9MDB 534fe449a2 Fix more cppcheck items 2023-10-13 17:36:29 -05:00
Mike Black W9MDB a469823028 Fix cppcheck unused warning 2023-10-01 13:28:29 -05:00
Mike Black W9MDB 6100bfdc11 Fix silly error in sleep.c 2023-06-08 09:03:04 -05:00
Mike Black W9MDB 8d8f224aff Reduce debug in sleep.c -- seems stable now 2023-06-08 09:01:28 -05:00
Mike Black W9MDB 4e4d8e39d8 Fix sleep.c function 2023-06-04 17:43:33 -05:00
Mike Black W9MDB e02c42f629 Reduce hl_usleep debug to DEBUG_CACHE 2023-05-16 17:03:47 -05:00
Mike Black W9MDB f691be94d9 Fix sleep.c conversion from usec to sec 2023-05-16 15:56:50 -05:00
Mike Black W9MDB 58655be355 Replace hl_usleep with monotonic sleep shamelessly stolen from FLRig
https://github.com/Hamlib/Hamlib/issues/1290
2023-05-15 11:45:54 -05:00
Mike Black W9MDB 647c5b37ef Fix hl_usleep again to undo prior fix
Fix hl_usleep to not sleep if 1ms or less is called for -- speeds things up on Windows dramatically
2023-05-14 15:42:00 -05:00
Mike Black W9MDB 29d3833228 Fix nanosleep timing 2023-05-14 14:11:13 -05:00
Mike Black W9MDB 5e8de57f54 Allow using nanosleep in hl_usleep 2023-05-14 13:52:05 -05:00
Daniele Forsi IU5HKX 4dfe46edbb Remove unused includes related to times and dates
Removes includes of time.h sys/time.h hamlibdatetime.h
2022-07-23 18:12:10 +02:00
Michael Black W9MDB 41230fabc2 Fix sleep.c #endif 2020-07-04 12:05:17 -05:00
Michael Black W9MDB 8e79561b73 Compile sleep replacement only when HAVE_SLEEP is not defined
https://github.com/Hamlib/Hamlib/issues/336
2020-07-04 11:33:11 -05:00
Michael Black W9MDB 815db24852 Fix MSVC compile by removing unistd.h and defining our own rig_useconds_t
https://github.com/Hamlib/Hamlib/issues/301
2020-06-13 17:40:47 -05:00
Michael Black 106a68bbc9 Documentation updates 2020-04-09 23:35:22 -05:00
Michael Black f1f0d7f129 Fix some of the documentation 2020-04-09 17:56:19 -05:00
Michael Black 46cb356f11 Fix numerous gcc v10 warnings 2020-04-04 22:49:27 -05: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