From: c vw Date: Thu, 22 Jul 2021 18:02:01 +0000 (+0200) Subject: remove dependency on the *latest* gpiod library. X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/file/frontends/...?a=commitdiff_plain;h=2019f59350f3c3d9abf65a3d7ad6b3afe19e12ed;p=pihpsdr.git remove dependency on the *latest* gpiod library. --- diff --git a/gpio.c b/gpio.c index 39be1f1..f4cfbd1 100644 --- 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