summaryrefslogtreecommitdiff
path: root/examples/host/cdc_msc_hid_freertos/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-11-03 10:46:09 +0700
committerhathach <[email protected]>2025-11-03 10:46:09 +0700
commitbda7efb1b3d482b7add2535a4a72f51a0dea5c08 (patch)
tree6fe059dfa614e1b4b567906dda830adc4ab34e15 /examples/host/cdc_msc_hid_freertos/src
parenta6c16d147593732028ed89292805e0e6a972e4b5 (diff)
fix #2942, include stdio if CFG_TUSB_DEBUG > 0 and CFG_TUSB_DEBUG_PRINTF is not defined
Diffstat (limited to 'examples/host/cdc_msc_hid_freertos/src')
-rw-r--r--examples/host/cdc_msc_hid_freertos/src/app.h2
-rw-r--r--examples/host/cdc_msc_hid_freertos/src/msc_app.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/examples/host/cdc_msc_hid_freertos/src/app.h b/examples/host/cdc_msc_hid_freertos/src/app.h
index 960f7e8cc..8892a1b6b 100644
--- a/examples/host/cdc_msc_hid_freertos/src/app.h
+++ b/examples/host/cdc_msc_hid_freertos/src/app.h
@@ -26,6 +26,8 @@
#ifndef TUSB_TINYUSB_EXAMPLES_APP_H
#define TUSB_TINYUSB_EXAMPLES_APP_H
+#include <stdio.h>
+
void cdc_app_init(void);
void hid_app_init(void);
void msc_app_init(void);
diff --git a/examples/host/cdc_msc_hid_freertos/src/msc_app.c b/examples/host/cdc_msc_hid_freertos/src/msc_app.c
index a6e3ed4ee..fa864c364 100644
--- a/examples/host/cdc_msc_hid_freertos/src/msc_app.c
+++ b/examples/host/cdc_msc_hid_freertos/src/msc_app.c
@@ -23,6 +23,8 @@
*
*/
+#include <stdio.h>
+
#include "tusb.h"
#include "app.h"