Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tensorflow/lite/micro/cortex_m_generic/debug_log.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ extern "C" {
#include "tensorflow/lite/micro/cortex_m_generic/debug_log_callback.h"

#ifndef TF_LITE_STRIP_ERROR_STRINGS
#include "eyalroz_printf/src/printf/printf.h"
#include <stdio.h>
#endif

static DebugLogCallback debug_log_callback = nullptr;
Expand All @@ -49,7 +49,7 @@ void DebugLog(const char* format, va_list args) {
constexpr int kMaxLogLen = 256;
char log_buffer[kMaxLogLen];

vsnprintf_(log_buffer, kMaxLogLen, format, args);
vsnprintf(log_buffer, kMaxLogLen, format, args);
InvokeDebugLogCallback(log_buffer);
#endif
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,5 +204,3 @@ ifneq ($(TARGET_ARCH), project_generation)
$(TENSORFLOW_ROOT)tensorflow/lite/micro/examples/micro_speech/Makefile.inc
MICRO_LITE_EXAMPLE_TESTS := $(filter-out $(EXCLUDED_EXAMPLE_TESTS), $(MICRO_LITE_EXAMPLE_TESTS))
endif

include $(MAKEFILE_DIR)/ext_libs/eyalroz_printf.inc