Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b5fd891 + 0d1c542 commit c63baf6Copy full SHA for c63baf6
driver/cam_hal.c
@@ -40,7 +40,12 @@
40
#include "esp32s3/rom/ets_sys.h"
41
#endif
42
#endif // ESP_IDF_VERSION_MAJOR
43
-#define ESP_CAMERA_ETS_PRINTF ets_printf
+
44
+#if CONFIG_LOG_DEFAULT_LEVEL_NONE
45
+#define ESP_CAMERA_ETS_PRINTF(f, ...)
46
+#else
47
+#define ESP_CAMERA_ETS_PRINTF(f, ...) ets_printf(f, ##__VA_ARGS__)
48
+#endif
49
50
#if CONFIG_CAMERA_TASK_STACK_SIZE
51
#define CAM_TASK_STACK CONFIG_CAMERA_TASK_STACK_SIZE
0 commit comments