summaryrefslogtreecommitdiff
path: root/examples/host/msc_file_explorer
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/msc_file_explorer
parenta6c16d147593732028ed89292805e0e6a972e4b5 (diff)
fix #2942, include stdio if CFG_TUSB_DEBUG > 0 and CFG_TUSB_DEBUG_PRINTF is not defined
Diffstat (limited to 'examples/host/msc_file_explorer')
-rw-r--r--examples/host/msc_file_explorer/src/main.c1
-rw-r--r--examples/host/msc_file_explorer/src/msc_app.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/examples/host/msc_file_explorer/src/main.c b/examples/host/msc_file_explorer/src/main.c
index 506c3b015..f9ec0ff5f 100644
--- a/examples/host/msc_file_explorer/src/main.c
+++ b/examples/host/msc_file_explorer/src/main.c
@@ -56,7 +56,6 @@
*/
#include <stdlib.h>
-#include <stdio.h>
#include <string.h>
#include "bsp/board_api.h"
diff --git a/examples/host/msc_file_explorer/src/msc_app.h b/examples/host/msc_file_explorer/src/msc_app.h
index 3ba03d0dc..a99da5b5c 100644
--- a/examples/host/msc_file_explorer/src/msc_app.h
+++ b/examples/host/msc_file_explorer/src/msc_app.h
@@ -27,6 +27,7 @@
#define MSC_APP_H
#include <stdbool.h>
+#include <stdio.h>
bool msc_app_init(void);
void msc_app_task(void);