Fixed no member named 'printTo' compilation error

pull/137/head
Hieromon Ikasamo 5 years ago
parent 7d12936db8
commit 7b8879ee1e
  1. 1
      README.md
  2. 2
      examples/Credential/Credential.ino
  3. 1
      mkdocs/changelog.md
  4. 2
      src/AutoConnectUpdate.cpp

@ -103,6 +103,7 @@ Full documentation is available on https://Hieromon.github.io/AutoConnect, some
### [1.1.0] Oct. 15, 2019 ### [1.1.0] Oct. 15, 2019
- Supprts static IPs with the 'Configure new AP' menu. (issue #132) - Supprts static IPs with the 'Configure new AP' menu. (issue #132)
- Fixed compilation error that no member named 'printTo' with ArduinoJson 5.
### [1.0.3] Sept. 30, 2019 ### [1.0.3] Sept. 30, 2019
- Fixed a return of AutoConnectCredential::entries(). (issue #133) - Fixed a return of AutoConnectCredential::entries(). (issue #133)

@ -125,7 +125,7 @@ String delCredential(PageArgument& args) {
int8_t e = args.arg("num").toInt(); int8_t e = args.arg("num").toInt();
Serial.printf("Request deletion #%d\n", e); Serial.printf("Request deletion #%d\n", e);
if (e > 0) { if (e > 0) {
struct station_config entry; station_config_t entry;
// If the input number is valid, delete that entry. // If the input number is valid, delete that entry.
int8_t de = ac.load(e - 1, &entry); // A base of entry num is 0. int8_t de = ac.load(e - 1, &entry); // A base of entry num is 0.

@ -1,5 +1,6 @@
#### [1.1.0] Oct. 15, 2019 #### [1.1.0] Oct. 15, 2019
- Supports static IPs with the [**Configure new AP**](menu.md#configure-new-ap) menu. - Supports static IPs with the [**Configure new AP**](menu.md#configure-new-ap) menu.
- Fixed compilation error that no member named 'printTo' with ArduinoJson 5.
#### [1.0.3] Sept. 30, 2019 #### [1.0.3] Sept. 30, 2019
- Fixed a return of AutoConnectCredential::entries(). - Fixed a return of AutoConnectCredential::entries().

@ -405,7 +405,7 @@ String AutoConnectUpdateAct::_onCatalog(AutoConnectAux& catalog, PageArgument& a
if (parse) { if (parse) {
#ifdef AC_DEBUG #ifdef AC_DEBUG
AC_DBG_DUMB("\n"); AC_DBG_DUMB("\n");
ARDUINOJSON_PRINT(jb, AC_DEBUG_PORT); ARDUINOJSON_PRINT(json, AC_DEBUG_PORT);
#endif #endif
// Register only bin type file name as available sketch binary to // Register only bin type file name as available sketch binary to
// AutoConnectRadio value based on the response from the update server. // AutoConnectRadio value based on the response from the update server.

Loading…
Cancel
Save