[SYS] Remove unnecessaries ESP8266 ESP32 macros (#1931)
This commit is contained in:
1 parent
2065d57e11
commit
2645928dbd
11 files changed
+324
-505
No files matched your search
@@ -30,12 +30,7 @@
|
||||
WeatherStationDataRx wsdr(RF_WS_RECEIVER_GPIO, true);
|
||||
|
||||
void PairedDeviceAdded(byte newID) {
|
||||
# if defined(ESP8266) || defined(ESP32)
|
||||
Serial.printf("ZgatewayWeatherStation: New device paired %d\r\n", newID);
|
||||
# else
|
||||
Serial.print("ZgatewayWeatherStation: New device paired ");
|
||||
Serial.println(newID, DEC);
|
||||
# endif
|
||||
StaticJsonDocument<JSON_MSG_BUFFER> RFdataBuffer;
|
||||
JsonObject RFdata = RFdataBuffer.to<JsonObject>();
|
||||
RFdata["sensor"] = newID;
|
||||
|
||||
Reference in new issue
Block a user