mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-08 04:26:58 +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();
|
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() {
|
||||||
|
|||||||
@@ -98,6 +98,7 @@ void CTfLiteClass::GetOutPut()
|
|||||||
|
|
||||||
void CTfLiteClass::Invoke()
|
void CTfLiteClass::Invoke()
|
||||||
{
|
{
|
||||||
|
if (interpreter != nullptr)
|
||||||
interpreter->Invoke();
|
interpreter->Invoke();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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";
|
||||||
@@ -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.
Reference in New Issue
Block a user