From 25c92c243797abf98ec103015a489f168ed94c64 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Mon, 9 Dec 2024 14:57:15 +0100 Subject: [PATCH] panu_demo: fix unused warning --- example/panu_demo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/example/panu_demo.c b/example/panu_demo.c index bdf5f578b..fe6e3f1b5 100644 --- a/example/panu_demo.c +++ b/example/panu_demo.c @@ -107,7 +107,9 @@ static uint8_t panu_sdp_record[220]; /* LISTING_START(PanuSetup): Panu setup */ static void packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t size); +#ifdef ENABLE_PANU_CLIENT static void handle_sdp_client_query_result(uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t size); +#endif static void network_send_packet_callback(const uint8_t * packet, uint16_t size); static void panu_setup(void){