Browse Source

Small changes

rfm69
Xose Pérez 6 years ago
parent
commit
6150544dc8
5 changed files with 682 additions and 681 deletions
  1. +2
    -2
      code/espurna/config/general.h
  2. +2
    -2
      code/espurna/config/hardware.h
  3. BIN
      code/espurna/data/index.html.gz
  4. +1
    -1
      code/espurna/mqtt.ino
  5. +677
    -676
      code/espurna/static/index.html.gz.h

+ 2
- 2
code/espurna/config/general.h View File

@ -61,8 +61,8 @@
#ifndef SERIAL_RX_PORT
#define SERIAL_RX_PORT Serial // This setting is usually defined
// in the hardware.h file for those
// boards that require it
// in the hardware.h file for those
// boards that require it
#endif
#ifndef SERIAL_RX_BAUDRATE


+ 2
- 2
code/espurna/config/hardware.h View File

@ -1538,8 +1538,8 @@
#elif defined(TONBUX_POWERSTRIP02)
// Info
#define MANUFACTURER "Tonbux"
#define DEVICE "Powerstrip02"
#define MANUFACTURER "TONBUX"
#define DEVICE "POWERSTRIP02"
// Buttons
#define BUTTON1_PIN 5


BIN
code/espurna/data/index.html.gz View File


+ 1
- 1
code/espurna/mqtt.ino View File

@ -536,7 +536,7 @@ void mqttFlush() {
// Send
String output;
root.printTo(output);
mqttSendRaw(_mqtt_topic_json.c_str(), output.c_str());
mqttSendRaw(_mqtt_topic_json.c_str(), output.c_str(), false);
// Clear queue
for (unsigned char i = 0; i < _mqtt_queue.size(); i++) {


+ 677
- 676
code/espurna/static/index.html.gz.h
File diff suppressed because it is too large
View File


Loading…
Cancel
Save