Browse Source

0.6.8

* fix #892 `zeroYieldDay` loop was not applied to all channels
pull/903/head
lumapu 2 years ago
parent
commit
b6531180df
  1. 3
      src/CHANGES.md
  2. 2
      src/defines.h
  3. 4
      src/hm/hmPayload.h

3
src/CHANGES.md

@ -1,5 +1,8 @@
# Development Changes
## 0.6.8 - 2023-04-19
* fix #892 `zeroYieldDay` loop was not applied to all channels
## 0.6.7 - 2023-04-13
* merge PR #883, improved store of settings and javascript, thx @tastendruecker123
* support `.` and `,` as floating point seperator in setup #881

2
src/defines.h

@ -13,7 +13,7 @@
//-------------------------------------
#define VERSION_MAJOR 0
#define VERSION_MINOR 6
#define VERSION_PATCH 7
#define VERSION_PATCH 8
//-------------------------------------
typedef struct {

4
src/hm/hmPayload.h

@ -74,8 +74,8 @@ class HmPayload {
DPRINTLN(DBG_DEBUG, F("zeroYieldDay"));
record_t<> *rec = iv->getRecordStruct(RealTimeRunData_Debug);
uint8_t pos;
for(uint8_t ch = 0; ch < iv->channels; ch++) {
pos = iv->getPosByChFld(CH0, FLD_YD, rec);
for(uint8_t ch = 0; ch <= iv->channels; ch++) {
pos = iv->getPosByChFld(ch, FLD_YD, rec);
iv->setValue(pos, rec, 0.0f);
}
}

Loading…
Cancel
Save