add log in gpio handler

add nullpint check in tfliteCass
This commit is contained in:
Zwer2k
2021-07-11 16:19:45 +02:00
parent a7ced407f8
commit 3e360ad0fb
6 changed files with 8 additions and 6 deletions

View File

@@ -221,6 +221,7 @@ void GpioHandler::init()
clear(); clear();
delete gpioMap; delete gpioMap;
gpioMap = NULL; gpioMap = NULL;
ESP_LOGI(TAG_SERVERGPIO, "GPIO init comleted, handler is disabled");
return; return;
} }
@@ -241,7 +242,7 @@ void GpioHandler::init()
} }
} }
ESP_LOGI(TAG_SERVERGPIO, "GPIO init comleted"); ESP_LOGI(TAG_SERVERGPIO, "GPIO init comleted, is enabled");
} }
void GpioHandler::taskHandler() { void GpioHandler::taskHandler() {

View File

@@ -98,6 +98,7 @@ void CTfLiteClass::GetOutPut()
void CTfLiteClass::Invoke() void CTfLiteClass::Invoke()
{ {
if (interpreter != nullptr)
interpreter->Invoke(); interpreter->Invoke();
} }

View File

@@ -1,4 +1,4 @@
const char* GIT_REV="08b0b25"; const char* GIT_REV="a7ced40";
const char* GIT_TAG=""; const char* GIT_TAG="";
const char* GIT_BRANCH="rolling"; const char* GIT_BRANCH="rolling";
const char* BUILD_TIME="2021-07-08 21:42"; const char* BUILD_TIME="2021-07-11 14:48";

View File

@@ -1,4 +1,4 @@
const char* GIT_REV="08b0b25"; const char* GIT_REV="a7ced40";
const char* GIT_TAG=""; const char* GIT_TAG="";
const char* GIT_BRANCH="rolling"; const char* GIT_BRANCH="rolling";
const char* BUILD_TIME="2021-07-08 21:42"; const char* BUILD_TIME="2021-07-11 14:48";

Binary file not shown.

Binary file not shown.