Skip to content

Commit

Permalink
Release v1.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sblantipodi committed Jun 7, 2021
1 parent 1d86565 commit 1ab8351
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ build_flags =
'-D DNS_IP="192.168.1.1"'
'-D MICROCONTROLLER_IP="192.168.1.99"'
'-D MQTT_SERVER_IP="192.168.1.3"'
'-D MQTT_SERVER_PORT=1883'
'-D MQTT_SERVER_PORT="1883"'
'-D MAX_RECONNECT=500'
'-D MAX_JSON_OBJECT_SIZE=50'
'-D MQTT_MAX_PACKET_SIZE=1024'
Expand Down
16 changes: 8 additions & 8 deletions src/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@
#define _DPSOFTWARE_CONFIG_H

#if defined(ESP8266)
#include <ESP8266WiFi.h>
#include <ESP8266mDNS.h>
#include <ESP8266HTTPClient.h>
#include <ESP8266WebServer.h>
#include <ESP8266WiFi.h>
#include <ESP8266mDNS.h>
#include <ESP8266HTTPClient.h>
#include <ESP8266WebServer.h>
#elif defined(ESP32)
#include <WiFi.h>
#include <WiFi.h>
#include <ESPmDNS.h>
#include <HTTPClient.h>
#include <WebServer.h>
#endif
#endif
#include <Adafruit_SSD1306.h>

#ifndef AUTHOR
Expand Down Expand Up @@ -102,9 +102,9 @@ const char* const MQTT_SERVER = MQTT_SERVER_IP;

// MQTT server port
#ifndef MQTT_SERVER_PORT
#define MQTT_SERVER_PORT 1883
#define MQTT_SERVER_PORT "1883"
#endif
const int MQTT_PORT = MQTT_SERVER_PORT;
const char* const MQTT_PORT = MQTT_SERVER_PORT;

// Maximum number of reconnection (WiFi/MQTT) attemp before powering off peripherals
#ifndef MAX_RECONNECT
Expand Down

0 comments on commit 1ab8351

Please sign in to comment.