mirror of
https://github.com/wled/WLED.git
synced 2025-07-26 20:26:34 +00:00
Format changes.
This commit is contained in:
parent
ffbedbc1e6
commit
8d75c06852
@ -1,4 +1,12 @@
|
||||
---
|
||||
BasedOnStyle: Webkit
|
||||
IndentWidth: 2
|
||||
|
||||
AlignTrailingComments: true
|
||||
SpacesBeforeTrailingComments: 8
|
||||
AllowShortIfStatementsOnASingleLine: Always
|
||||
AllowShortLoopsOnASingleLine: true
|
||||
AllowShortLambdasOnASingleLine: true
|
||||
AllowShortCaseLabelsOnASingleLine: true
|
||||
AllowShortFunctionsOnASingleLine: All
|
||||
AllowShortBlocksOnASingleLine: true
|
||||
IndentCaseLabels: true
|
@ -61,6 +61,7 @@ extern "C"
|
||||
#include <SPIFFSEditor.h>
|
||||
#include "src/dependencies/time/TimeLib.h"
|
||||
#include "src/dependencies/timezone/Timezone.h"
|
||||
|
||||
#ifndef WLED_DISABLE_ALEXA
|
||||
#define ESPALEXA_ASYNC
|
||||
#define ESPALEXA_NO_SUBPAGE
|
||||
@ -71,10 +72,12 @@ extern "C"
|
||||
#ifndef WLED_DISABLE_BLYNK
|
||||
#include "src/dependencies/blynk/BlynkSimpleEsp.h"
|
||||
#endif
|
||||
|
||||
#include "src/dependencies/e131/ESPAsyncE131.h"
|
||||
#include "src/dependencies/async-mqtt-client/AsyncMqttClient.h"
|
||||
#include "src/dependencies/json/AsyncJson-v6.h"
|
||||
#include "src/dependencies/json/ArduinoJson-v6.h"
|
||||
|
||||
#include "html_ui.h"
|
||||
#include "html_settings.h"
|
||||
#include "html_other.h"
|
||||
@ -226,7 +229,6 @@ extern uint16_t userVar0, userVar1;
|
||||
#ifdef WLED_ENABLE_DMX
|
||||
extern byte DMXChannels;
|
||||
extern byte DMXFixtureMap[15];
|
||||
extern
|
||||
extern uint16_t DMXGap;
|
||||
extern uint16_t DMXStart;
|
||||
#endif
|
||||
@ -324,6 +326,8 @@ extern String escapedMac;
|
||||
extern Espalexa espalexa;
|
||||
extern EspalexaDevice *espalexaDevice;
|
||||
#endif
|
||||
|
||||
#define NTP_PACKET_SIZE 48
|
||||
extern DNSServer dnsServer;
|
||||
extern bool ntpConnected;
|
||||
extern time_t local;
|
||||
@ -331,7 +335,6 @@ extern unsigned long ntpLastSyncTime;
|
||||
extern unsigned long ntpPacketSentTime;
|
||||
extern IPAddress ntpServerIP;
|
||||
extern uint16_t ntpLocalPort;
|
||||
#define NTP_PACKET_SIZE 48
|
||||
|
||||
// maximum number of LEDs - MAX_LEDS is coming from the JSON response getting too big, MAX_LEDS_DMA will become a timing issue
|
||||
#define MAX_LEDS 1500
|
||||
@ -382,8 +385,7 @@ bool oappend(const char *txt);
|
||||
// append new number to temp buffer efficiently
|
||||
bool oappendi(int i);
|
||||
|
||||
class WLED
|
||||
{
|
||||
class WLED {
|
||||
public:
|
||||
WLED();
|
||||
static WLED& instance()
|
||||
|
Loading…
x
Reference in New Issue
Block a user