Indents for the #ifdef's in wled00.ino (#716)
This commit is contained in:
parent
2d75526395
commit
730ba12c8d
@ -46,7 +46,7 @@ DMXESPSerial dmx;
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#include <user_interface.h>
|
#include <user_interface.h>
|
||||||
}
|
}
|
||||||
#else
|
#else //ESP32
|
||||||
#include <WiFi.h>
|
#include <WiFi.h>
|
||||||
#include "esp_wifi.h"
|
#include "esp_wifi.h"
|
||||||
#include <ESPmDNS.h>
|
#include <ESPmDNS.h>
|
||||||
@ -398,7 +398,6 @@ byte realtimeMode = REALTIME_MODE_INACTIVE;
|
|||||||
IPAddress realtimeIP = (0,0,0,0);
|
IPAddress realtimeIP = (0,0,0,0);
|
||||||
unsigned long realtimeTimeout = 0;
|
unsigned long realtimeTimeout = 0;
|
||||||
|
|
||||||
|
|
||||||
//mqtt
|
//mqtt
|
||||||
long lastMqttReconnectAttempt = 0;
|
long lastMqttReconnectAttempt = 0;
|
||||||
long lastInterfaceUpdate = 0;
|
long lastInterfaceUpdate = 0;
|
||||||
@ -431,6 +430,7 @@ IPAddress ntpServerIP;
|
|||||||
uint16_t ntpLocalPort = 2390;
|
uint16_t ntpLocalPort = 2390;
|
||||||
#define NTP_PACKET_SIZE 48
|
#define NTP_PACKET_SIZE 48
|
||||||
|
|
||||||
|
//maximum number of LEDs - MAX_LEDS is comming from the JSON response getting too big, MAX_LEDS_DMA will become a timing issue
|
||||||
#define MAX_LEDS 1500
|
#define MAX_LEDS 1500
|
||||||
#define MAX_LEDS_DMA 500
|
#define MAX_LEDS_DMA 500
|
||||||
|
|
||||||
@ -439,6 +439,7 @@ uint16_t ntpLocalPort = 2390;
|
|||||||
char* obuf;
|
char* obuf;
|
||||||
uint16_t olen = 0;
|
uint16_t olen = 0;
|
||||||
|
|
||||||
|
//presets
|
||||||
uint16_t savedPresets = 0;
|
uint16_t savedPresets = 0;
|
||||||
int8_t currentPreset = -1;
|
int8_t currentPreset = -1;
|
||||||
bool isPreset = false;
|
bool isPreset = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user