mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-06 19:46:54 +03:00
add log in gpio handler
add nullpint check in tfliteCass
This commit is contained in:
@@ -221,6 +221,7 @@ void GpioHandler::init()
|
||||
clear();
|
||||
delete gpioMap;
|
||||
gpioMap = NULL;
|
||||
ESP_LOGI(TAG_SERVERGPIO, "GPIO init comleted, handler is disabled");
|
||||
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() {
|
||||
|
||||
@@ -98,7 +98,8 @@ void CTfLiteClass::GetOutPut()
|
||||
|
||||
void CTfLiteClass::Invoke()
|
||||
{
|
||||
interpreter->Invoke();
|
||||
if (interpreter != nullptr)
|
||||
interpreter->Invoke();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const char* GIT_REV="08b0b25";
|
||||
const char* GIT_REV="a7ced40";
|
||||
const char* GIT_TAG="";
|
||||
const char* GIT_BRANCH="rolling";
|
||||
const char* BUILD_TIME="2021-07-08 21:42";
|
||||
const char* BUILD_TIME="2021-07-11 14:48";
|
||||
@@ -1,4 +1,4 @@
|
||||
const char* GIT_REV="08b0b25";
|
||||
const char* GIT_REV="a7ced40";
|
||||
const char* GIT_TAG="";
|
||||
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.
Reference in New Issue
Block a user