Browse Source

fix: doCalculations was not called

pull/21/head
lumapu 3 years ago
parent
commit
41b4f72b52
  1. 5
      .gitignore
  2. 1
      tools/esp8266/app.cpp
  3. 2
      tools/esp8266/defines.h

5
.gitignore

@ -10,3 +10,8 @@ compile_commands.json
CTestTestfile.cmake CTestTestfile.cmake
_deps _deps
build build
/**/Debug
/**/v16/*
*.db
*.suo
*.ipch

1
tools/esp8266/app.cpp

@ -136,6 +136,7 @@ void app::loop(void) {
if(iv->assign[i].cmdId == *cmd) if(iv->assign[i].cmdId == *cmd)
iv->addValue(i, &p->packet[11]); iv->addValue(i, &p->packet[11]);
} }
iv->doCalculations();
} }
if(*cmd == 0x01) mCmds[0]++; if(*cmd == 0x01) mCmds[0]++;

2
tools/esp8266/defines.h

@ -25,7 +25,7 @@
//------------------------------------- //-------------------------------------
#define VERSION_MAJOR 0 #define VERSION_MAJOR 0
#define VERSION_MINOR 3 #define VERSION_MINOR 3
#define VERSION_PATCH 0 #define VERSION_PATCH 1
//------------------------------------- //-------------------------------------

Loading…
Cancel
Save