ArduCAM / RPI-Pico-Cam

126 stars 43 forks source link

simple compile error in "main_functions.cpp" #11

Open Hermann-SW opened 2 years ago

Hermann-SW commented 2 years ago

This fixes the issue:

pi@raspberrypi400:~/pico/RPI-Pico-Cam $ git diff tflmicro/examples/person_detection_screen/main_functions.cpp
diff --git a/tflmicro/examples/person_detection_screen/main_functions.cpp b/tflmicro/examples/person_detection_screen/main_functions.cpp
index 5040d3e..e5d638c 100755
--- a/tflmicro/examples/person_detection_screen/main_functions.cpp
+++ b/tflmicro/examples/person_detection_screen/main_functions.cpp
@@ -44,7 +44,7 @@ TfLiteTensor *            input          = nullptr;
 // signed value.

 // An area of memory to use for input, output, and intermediate arrays.
-constexpr int  kTensorArenaSize =  81 * 1024 // 136 * 1024;
+constexpr int  kTensorArenaSize =  81 * 1024; // 136 * 1024;
 static uint8_t tensor_arena[kTensorArenaSize];
 }  // namespace

pi@raspberrypi400:~/pico/RPI-Pico-Cam $