summaryrefslogtreecommitdiff
path: root/examples/device/cdc_uac2/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-10-14 17:13:28 +0700
committerhathach <[email protected]>2025-10-14 17:13:28 +0700
commit47b13f6b102ea981b79588158dca436ebc21f1ae (patch)
treee435b6af711f0386daec3eb53313cf4c2c240735 /examples/device/cdc_uac2/src
parent9bf18d080b202e8e09bd76f32272b1dbfabfa3b9 (diff)
improve cmake warning flags, fix various warnings in examples
Diffstat (limited to 'examples/device/cdc_uac2/src')
-rw-r--r--examples/device/cdc_uac2/src/common.h3
-rw-r--r--examples/device/cdc_uac2/src/main.c3
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/device/cdc_uac2/src/common.h b/examples/device/cdc_uac2/src/common.h
index f281024c7..ff8b7a953 100644
--- a/examples/device/cdc_uac2/src/common.h
+++ b/examples/device/cdc_uac2/src/common.h
@@ -31,4 +31,7 @@ enum
VOLUME_CTRL_SILENCE = 0x8000,
};
+void led_blinking_task(void);
+void audio_task(void);
+
#endif
diff --git a/examples/device/cdc_uac2/src/main.c b/examples/device/cdc_uac2/src/main.c
index bc87f6e3c..22c462be7 100644
--- a/examples/device/cdc_uac2/src/main.c
+++ b/examples/device/cdc_uac2/src/main.c
@@ -38,9 +38,6 @@ extern uint32_t blink_interval_ms;
#include "pico/stdlib.h"
#endif
-void led_blinking_task(void);
-void audio_task(void);
-
/*------------- MAIN -------------*/
int main(void)
{