From bcce6c11dae372105171c09a0ff8d23b287f9fde Mon Sep 17 00:00:00 2001 From: Ramakrishnan Muthukrishnan Date: Thu, 24 Feb 2022 19:35:10 +0530 Subject: [PATCH] enable only one copy of gpio_cw_sidetone_* functions --- gpio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gpio.c b/gpio.c index 9ae5822..fef0f2a 100644 --- a/gpio.c +++ b/gpio.c @@ -1126,6 +1126,7 @@ void gpio_close() { } #ifdef LOCALCW +#ifdef GPIO void gpio_cw_sidetone_set(int level) { int rc; if (ENABLE_GPIO_SIDETONE) { @@ -1144,5 +1145,5 @@ void gpio_cw_sidetone_set(int level) { int gpio_cw_sidetone_enabled() { return ENABLE_GPIO_SIDETONE; } - +#endif #endif -- 2.45.2