Skip to content

Add libgpiod support #283

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Nov 25, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'dev' into gpiod
  • Loading branch information
ew1abz authored Jul 7, 2022
commit b8919baf207704b96293611b579c4e9629d845dd
3 changes: 3 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ include_directories(
${SNDIO_INCLUDE_DIRS}
${CUSTOM_GEOTRANZ_DIR}
${GPIOD_INCLUDE_DIRS}
${CUSTOM_HIDAPI_DIR}
)

if(WIN32 OR CYGWIN)
Expand Down Expand Up @@ -156,6 +157,8 @@ target_link_libraries(direwolf
${UDEV_LIBRARIES}
${PORTAUDIO_LIBRARIES}
${GPIOD_LIBRARIES}
${SNDIO_LIBRARIES}
${AVAHI_LIBRARIES}
)

if(WIN32 OR CYGWIN)
Expand Down
2 changes: 2 additions & 0 deletions src/direwolf.c
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,8 @@ int main (int argc, char *argv[])
#endif
#if defined(USE_GPIOD)
dw_printf (" libgpiod");
#if (USE_AVAHI_CLIENT|USE_MACOS_DNSSD)
dw_printf (" dns-sd");
#endif
dw_printf ("\n");
#endif
Expand Down
4 changes: 0 additions & 4 deletions src/ptt.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,6 @@
#include <hamlib/rig.h>
#endif

#ifdef USE_CM108
#include "cm108.h"
#endif

#ifdef USE_GPIOD
#include <gpiod.h>
#endif
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.