From 5c3a8e68123cbf0d6e09a90a6c55b25a92307e9a Mon Sep 17 00:00:00 2001 From: Thomas Date: Thu, 27 Jul 2023 14:21:22 -0500 Subject: [PATCH] [global] remove esp_heap_trace for merge. --- lib/bus/sio/sio.cpp | 2 -- lib/device/sio/network.cpp | 2 -- lib/fnjson/fnjson.cpp | 2 -- lib/http/fnHttpClient.cpp | 2 -- lib/network-protocol/FS.cpp | 1 - src/main.cpp | 4 ---- 6 files changed, 13 deletions(-) diff --git a/lib/bus/sio/sio.cpp b/lib/bus/sio/sio.cpp index f9fa9c85a..6d04dd889 100755 --- a/lib/bus/sio/sio.cpp +++ b/lib/bus/sio/sio.cpp @@ -15,8 +15,6 @@ #include "led.h" #include "utils.h" -#include - // Helper functions outside the class defintions // Get requested buffer length from command frame diff --git a/lib/device/sio/network.cpp b/lib/device/sio/network.cpp index 852c46a6d..8badb1545 100755 --- a/lib/device/sio/network.cpp +++ b/lib/device/sio/network.cpp @@ -28,8 +28,6 @@ #include "ProtocolParser.h" -#include - using namespace std; /** diff --git a/lib/fnjson/fnjson.cpp b/lib/fnjson/fnjson.cpp index 8a37d4e69..ae82574df 100644 --- a/lib/fnjson/fnjson.cpp +++ b/lib/fnjson/fnjson.cpp @@ -15,8 +15,6 @@ #include "string_utils.h" #include "../../include/debug.h" -#include - /** * ctor */ diff --git a/lib/http/fnHttpClient.cpp b/lib/http/fnHttpClient.cpp index f30aaeef1..d672f703a 100755 --- a/lib/http/fnHttpClient.cpp +++ b/lib/http/fnHttpClient.cpp @@ -11,8 +11,6 @@ #include "utils.h" -#include - using namespace fujinet; #define HTTPCLIENT_WAIT_FOR_CONSUMER_TASK 20000 // 20s diff --git a/lib/network-protocol/FS.cpp b/lib/network-protocol/FS.cpp index 75986e331..24a65d2d1 100755 --- a/lib/network-protocol/FS.cpp +++ b/lib/network-protocol/FS.cpp @@ -11,7 +11,6 @@ #include "status_error_codes.h" #include "utils.h" -#include #include #define ENTRY_BUFFER_SIZE 256 diff --git a/src/main.cpp b/src/main.cpp index 273c39645..2d10a6cbf 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4,8 +4,6 @@ #include #endif -#include - #include "debug.h" #include "bus.h" #include "device.h" @@ -360,8 +358,6 @@ extern "C" #endif #define MAIN_CPUAFFINITY 1 - ESP_ERROR_CHECK( heap_trace_init_standalone(trace_record, NUM_RECORDS) ); - xTaskCreatePinnedToCore(fn_service_loop, "fnLoop", MAIN_STACKSIZE, nullptr, MAIN_PRIORITY, nullptr, MAIN_CPUAFFINITY);