Rolling 20220930

This commit is contained in:
jomjol
2022-09-30 07:48:33 +02:00
parent 80798ae0e6
commit 6b329aaa58
3 changed files with 3 additions and 3 deletions

View File

@@ -15,7 +15,7 @@
### Fixed
- [#1116](https://github.com/jomjol/AI-on-the-edge-device/issues/1116) precision problem at setting prevalue
- [#1119](https://github.com/jomjol/AI-on-the-edge-device/issues/1119) renamed `firmware.bin` not working in OTA
### Removed
- n.a.

View File

@@ -769,7 +769,7 @@ std::string unzip_new(std::string _in_zip_file, std::string _target_zip, std::st
zw = std::string(archive_filename);
printf("Rohfilename: %s\n", zw.c_str());
if (toUpper(zw) == "FIRMWARE.BIN")
if (getFileType(zw) == "BIN")
{
zw = _target_bin + zw;
ret = zw;

View File

@@ -78,7 +78,7 @@ void ClassFlowPostProcessing::SetPreValue(double zw, string _numbers, bool _exte
if (NUMBERS[j]->name == _numbers)
{
NUMBERS[j]->PreValue = zw;
NUMBERS[j]->ReturnPreValue = std::to_string(zw);
NUMBERS[j]->ReturnPreValue = RundeOutput(zw, NUMBERS[j]->Nachkomma);
NUMBERS[j]->PreValueOkay = true;
if (_extern)
{