Skip to content

Commit bdae939

Browse files
laurenmurphyx64cfriedt
authored andcommitted
samples: tflite-micro: fix magic_wand
Fixes accelerometer_handler.cc to import correct header with TfLiteStatus since c_api_internal.h file was deleted in the new standalone tflite-micro repo. Removes import of version.h in main_functions.cc to match tflite-micro version. Signed-off-by: Lauren Murphy <[email protected]>
1 parent 82f64e1 commit bdae939

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

samples/modules/tflite-micro/magic_wand/src/accelerometer_handler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
#define kChannelNumber 3
2121

22-
#include <tensorflow/lite/c/c_api_internal.h>
22+
#include <tensorflow/lite/c/c_api_types.h>
2323
#include <tensorflow/lite/micro/micro_error_reporter.h>
2424

2525
extern int begin_index;

samples/modules/tflite-micro/magic_wand/src/main_functions.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
#include <tensorflow/lite/micro/micro_interpreter.h>
2626
#include <tensorflow/lite/micro/micro_mutable_op_resolver.h>
2727
#include <tensorflow/lite/schema/schema_generated.h>
28-
#include <tensorflow/lite/version.h>
2928

3029
/* Globals, used for compatibility with Arduino-style sketches. */
3130
namespace {

0 commit comments

Comments
 (0)