projects
/
pihpsdr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
094bde5
)
remove dependency on the *latest* gpiod library.
author
c vw
<dl1ycf@darc.de>
Thu, 22 Jul 2021 18:02:01 +0000
(20:02 +0200)
committer
c vw
<dl1ycf@darc.de>
Thu, 22 Jul 2021 18:02:01 +0000
(20:02 +0200)
gpio.c
patch
|
blob
|
history
diff --git
a/gpio.c
b/gpio.c
index 39be1f1713d285174a679bf440f02a742c19fef5..f4cfbd10528674277fe11016008e0f83c611d9f1 100644
(file)
--- a/
gpio.c
+++ b/
gpio.c
@@
-1088,7
+1088,7
@@
void gpio_cw_sidetone_set(int level) {
int rc;
if (ENABLE_GPIO_SIDETONE) {
#ifdef GPIO
- if((rc=gpiod_ctxless_set_value
_ext(gpio_device,SIDETONE_GPIO,level,FALSE,consumer,NULL,NULL,0
))<0) {
+ if((rc=gpiod_ctxless_set_value
(gpio_device,SIDETONE_GPIO,level,FALSE,consumer,NULL,NULL
))<0) {
g_print("%s: err=%d\n",__FUNCTION__,rc);
}
#endif