summaryrefslogtreecommitdiff
path: root/examples/host/audio_host/src/main.c
diff options
context:
space:
mode:
authorHiFiPHile <[email protected]>2026-08-25 09:27:35 +0200
committerHiFiPHile <[email protected]>2026-08-25 09:27:35 +0200
commit3db8be8ba1a79b7a38814237508108eff9bcd5d6 (patch)
tree189891f303469c54ee88d36269f382db55b147c1 /examples/host/audio_host/src/main.c
parentc950109bcef6404971c3609a6e4caeb0421120b8 (diff)
fix(audio): repair the host audio example build
Add the missing preset and shared declarations, remove duplicate initialization, and correct callback call sites so the new example builds through the normal CMake flow. Signed-off-by: HiFiPHile <[email protected]>
Diffstat (limited to 'examples/host/audio_host/src/main.c')
-rw-r--r--examples/host/audio_host/src/main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/host/audio_host/src/main.c b/examples/host/audio_host/src/main.c
index 77c28cf41..3a3e18ab7 100644
--- a/examples/host/audio_host/src/main.c
+++ b/examples/host/audio_host/src/main.c
@@ -25,7 +25,6 @@
//--------------------------------------------------------------------+
// MACRO CONSTANT TYPEDEF PROTYPES
//--------------------------------------------------------------------+
-void led_blinking_task(void);
/*------------- MAIN -------------*/
int main(void) {
@@ -39,7 +38,6 @@ int main(void) {
tusb_init(BOARD_TUH_RHPORT, &host_init);
board_init_after_tusb();
- uint32_t last_ms = tusb_time_millis_api();
while (1) {
// tinyusb host task
tuh_task();