This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstdint> | |
#include <cstdio> | |
#include <cassert> | |
#include <string> | |
// Arduino-specific defines | |
#define ARDUINOJSON_ENABLE_PROGMEM 0 | |
#define pgm_read_byte(x) static_cast<uint8_t>(*x) | |
#define PROGMEM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstdint> | |
#include <functional> | |
#include <iostream> | |
#include <memory> | |
#include <queue> | |
#include <vector> | |
struct JsonObject {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/cores/esp8266/WString.cpp b/cores/esp8266/WString.cpp | |
index 07ab99b..81175fa 100644 | |
--- a/cores/esp8266/WString.cpp | |
+++ b/cores/esp8266/WString.cpp | |
@@ -36,6 +36,7 @@ String::String(const char *cstr) { | |
} | |
String::String(const String &value) { | |
+ Serial.printf("%p copy from %p\n", this, &value); | |
init(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <ESP8266WiFi.h> | |
void setup() { | |
delay(1000); | |
Serial.begin(115200); | |
Serial.println(); | |
WiFi.mode(WIFI_OFF); | |
} | |
struct Auth { |
OlderNewer