Browse Source

fix mqtt json

main
Hendrik Langer 7 years ago
parent
commit
c599b4e6d6
  1. 2
      src/main.cpp
  2. 2
      src/main.h

2
src/main.cpp

@ -206,7 +206,7 @@ void ICACHE_FLASH_ATTR getValuesJSON(char* buffer, const size_t buf_len, int for
// root["millis"] = millis();
// root["heap"] = ESP.getFreeHeap();
root.printTo(buffer, sizeof(buffer));
root.printTo(buffer, buf_len);
}
}

2
src/main.h

@ -7,6 +7,6 @@
#define DEBUG_MSG(...)
#endif
#define FW_VERSION 25
#define FW_VERSION 26
#endif /* _MAIN_H */

Loading…
Cancel
Save