gpio.c: In function ‘gpio_cw_sidetone_set’:
gpio.c:1094:12: warning: implicit declaration of function ‘gpiod_ctxless_set_value_ext’; did you mean ‘gtk_scale_set_value_pos’? [-Wimplicit-function-declaration]
if((rc=gpiod_ctxless_set_value_ext(gpio_device,SIDETONE_GPIO,level,FALSE,consumer,NULL,NULL,0))<0) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
gtk_scale_set_value_pos
gpio.c:1094:40: error: ‘gpio_device’ undeclared (first use in this function); did you mean ‘i2c_device’?
if((rc=gpiod_ctxless_set_value_ext(gpio_device,SIDETONE_GPIO,level,FALSE,consumer,NULL,NULL,0))<0) {
^~~~~~~~~~~
i2c_device
gpio.c:1094:40: note: each undeclared identifier is reported only once for each function it appears in
gpio.c:1094:78: error: ‘consumer’ undeclared (first use in this function); did you mean ‘confstr’?
c=gpiod_ctxless_set_value_ext(gpio_device,SIDETONE_GPIO,level,FALSE,consumer,NULL,NULL,0))<0) {
^~~~~~~~
confstr
make: *** [Makefile:228: gpio.o] Error 1
[Desktop Entry]
Icon=/home/pi/.pihpsdr/hpsdr.png
Exec=/usr/local/bin/pihpsdr
Type=Application
Terminal=false
Path=/home/pi/.pihpsdr
pihpsdr installed