Michael Black
efbe365701
Revert "Refactoring GPIO push-to-talk logic to use libgpiod rather than the d…"
2024-05-12 14:37:23 -05:00
Addison Schuhardt
cf91e96333
Refactoring GPIO push-to-talk logic to use libgpiod rather than the deprecated/broken sysfs method.
...
TODO: I'm not familiar with autoconf to set up linking to libgpiod correctly, so I'd like to ask someone else to do that.
Fixes #1538
2024-04-11 00:17:15 -07:00
Mike Black W9MDB
9ad070c33f
Add gpio command to rigctl(d) usable with pttport setting CM108
...
e.g. to set gpio2 on use 'gpio GPIO2 1" and off "gpio GPIO2 0"
Should work with GPIO1-4
New API funcions rig_cm108_get_bit rig_cm108_set_bit
https://github.com/Hamlib/Hamlib/issues/1121
2023-07-22 10:32:25 -05:00
Mike Black W9MDB
efb567f667
Make sure to unexport the GPIO port during close
...
https://github.com/Hamlib/Hamlib/issues/1316
2023-06-17 11:57:07 -05:00
Mike Black W9MDB
09c9b01552
Change snprintf to SNPRINTF in src
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-19 09:11:04 -06:00
Michael Black W9MDB
3d613519d5
Rename macros to avoid collisions with other software
2021-03-06 12:37:53 -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
6bf3b00c4f
astyle all files
2019-11-30 10:19:08 -06:00
Jeroen Vreeken
0057b2f8b1
GPIO working after debugging
2018-06-30 16:09:56 +02:00
Jeroen Vreeken
9c7ce6eacb
Merge branch 'master' of github.com:Hamlib/Hamlib
2018-05-06 00:12:23 +02:00
Michael Black W9MDB
1e883d0195
Fix compile warnings for src
2018-04-22 18:38:16 -05:00
Jeroen Vreeken
bfa948ebc5
Add GPIO and GPION options for DCD.
...
Also bump abi version since the config params struct needed resizing.
2018-03-29 23:55:25 +02:00
Nate Bargmann
ab3e6bb5a5
Formatted src/ to final coding guidelines
2017-10-04 21:32:08 -05:00
Nate Bargmann
f76b354588
Reformatted src directory
2017-08-09 06:14:31 -05:00
Jeroen Vreeken
3ee7b68d42
Add missing breaks and improve error messages
2016-05-30 14:12:01 +02:00
Jeroen Vreeken
1bf736d650
Add support for GPIO PTT.
2016-05-28 16:00:03 +02:00