Skip to content

Commit

Permalink
Remove unnecessary null pointer checks #1649 (#1673)
Browse files Browse the repository at this point in the history
* fix kernel panic (vector out of range) in getReadoutRawString

* fix key of caches

* fix key of caches

* fix key caches

* fix cache keys

* fix cache keys

* move set variables to top

* debug

* fix key

* testing

* try fix changelog

* test

* Update Changelog.md for  release

* Revert "Update Changelog.md for  release"

This reverts commit 4f51ec7.

* remove testing

* fix release creation

* testing

* Update Changelog.md for  release

* test

* Revert "Merge branch 'master' of https://github.com/haverland/AI-on-the-edge-device"

This reverts commit f68695a, reversing
changes made to a096cf7.

* Revert "test"

This reverts commit a096cf7.

* revert testing

* #1524 - ensure the result of ZeigerEvalHybridNeu is <10

* Fix late digit transition #1503

* only initial_esp32_setup and update.zip as artefacts

* remove unneeded cache

* rename step ota-v2 to ota

* rename ota-v2 to ota

* new models

- ana-class100 v1.5.4
- ana-cont-11.0.4
- dig-class100 v1.5.0

* Remove unnecessary null pointer checks #1649

Co-authored-by: github-actions <[email protected]>
  • Loading branch information
haverland and github-actions authored Dec 22, 2022
1 parent 9b20091 commit 66eb1e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions code/components/jomjol_flowcontroll/ClassFlowAlignment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ bool ClassFlowAlignment::doFlow(string time)
if (!ImageTMP)
ImageTMP = new CImageBasis(ImageBasis, 5);

if (AlignAndCutImage)
delete AlignAndCutImage;
delete AlignAndCutImage;

AlignAndCutImage = new CAlignAndCutImage(ImageBasis, ImageTMP);

CRotateImage rt(AlignAndCutImage, ImageTMP, initialflip);
Expand Down
4 changes: 2 additions & 2 deletions code/components/jomjol_tfliteclass/CTfLiteClass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,8 @@ CTfLiteClass::~CTfLiteClass()
delete this->tensor_arena;
delete this->interpreter;
delete this->error_reporter;
if (modelload)
free(modelload);

free(modelload);
}


Expand Down

0 comments on commit 66eb1e8

Please sign in to comment.