Update version

This commit is contained in:
jomjol
2021-07-14 20:00:06 +02:00
parent 03b5e36114
commit 655f9d7c97
10 changed files with 11 additions and 30 deletions

View File

@@ -190,7 +190,6 @@ bool ClassFlowAnalog::ReadParameter(FILE* pfile, string& aktparamgraph)
analog* ClassFlowAnalog::FindANALOG(string _name_number)
{
analog *_ret = NULL;
for (int i = 0; i < ANALOG.size(); ++i)
{

View File

@@ -161,8 +161,6 @@ bool ClassFlowDigit::ReadParameter(FILE* pfile, string& aktparamgraph)
digit* ClassFlowDigit::FindDIGIT(string _name_number)
{
digit *_ret = NULL;
for (int i = 0; i < DIGIT.size(); ++i)
{
if (DIGIT[i]->name == _name_number)

View File

@@ -354,12 +354,10 @@ CImageBasis::CImageBasis(CImageBasis *_copyfrom, int _anzrepeat)
int memsize = width * height * channels;
rgb_image = (unsigned char*)GET_MEMORY(memsize);
TickType_t xDelay;
int anz = 1;
while (!rgb_image && (anz < _anzrepeat))
{
printf("Create Image from Copy - Speicher ist voll - Versuche es erneut: %d.\n", anz);
xDelay = 1000 / portTICK_PERIOD_MS;
printf("Create Image from Copy - Speicher ist voll - Versuche es erneut: %d.\n", anz);
rgb_image = (unsigned char*) malloc(memsize);
anz++;
}

View File

@@ -156,9 +156,9 @@ void CTfLiteClass::MakeAllocate()
}
void CTfLiteClass::GetInputTensorSize(){
#ifdef DEBUG_DETAIL_ON
float *zw = this->input;
int test = sizeof(zw);
#ifdef DEBUG_DETAIL_ON
printf("Input Tensor Dimension: %d\n", test);
#endif
}
@@ -185,13 +185,11 @@ unsigned char* CTfLiteClass::ReadFileToCharArray(std::string _fn)
unsigned char *result = (unsigned char*) malloc(size);
int anz = 1;
TickType_t xDelay;
while (!result && (anz < 6)) // maximal 5x versuchen (= 5s)
{
#ifdef DEBUG_DETAIL_ON
printf("Speicher ist voll - Versuche es erneut: %d.\n", anz);
#endif
xDelay = 1000 / portTICK_PERIOD_MS;
result = (unsigned char*) malloc(size);
anz++;
}