Skip to content

Commit

Permalink
0.7.30
Browse files Browse the repository at this point in the history
* attempt to improve speed / repsonse times (Schwuppdizitaet) #1075
  • Loading branch information
lumapu committed Aug 9, 2023
1 parent e5b5972 commit 995c7ea
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions src/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Development Changes

## 0.7.30 - 2023-08-10
* attempt to improve speed / repsonse times (Schwuppdizitaet) #1075

## 0.7.29 - 2023-08-09
* MqTT alarm data was never sent, fixed
* REST API: added alarm data
Expand Down
10 changes: 5 additions & 5 deletions src/app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ void app::loop(void) {
if (mInnerLoopCb)
mInnerLoopCb();
#if !defined(ETHERNET)
mImprov.tickSerial();
#endif
}

Expand Down Expand Up @@ -248,13 +247,14 @@ void app::regularTickers(void) {
if (mConfig->plugin.display.type != 0)
everySec(std::bind(&DisplayType::tickerSecond, &mDisplay), "disp");
every(std::bind(&PubSerialType::tick, &mPubSerial), mConfig->serial.interval, "uart");
//everySec(std::bind(&Improv::tickSerial, &mImprov), "impro");
// every([this]() {mPayload.simulation();}, 15, "simul");
#if !defined(ETHERNET)
everySec([this]() { mImprov.tickSerial(); }, "impro");
#endif
// every([this]() { mPayload.simulation();}, 15, "simul");
}

#if defined(ETHERNET)
void app::onNtpUpdate(bool gotTime)
{
void app::onNtpUpdate(bool gotTime) {
uint32_t nxtTrig = 5; // default: check again in 5 sec
if (gotTime || mTimestamp != 0) {
this->updateNtp();
Expand Down
2 changes: 1 addition & 1 deletion src/defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//-------------------------------------
#define VERSION_MAJOR 0
#define VERSION_MINOR 7
#define VERSION_PATCH 29
#define VERSION_PATCH 30

//-------------------------------------
typedef struct {
Expand Down

0 comments on commit 995c7ea

Please sign in to comment.