mirror of
https://github.com/wled/WLED.git
synced 2025-07-25 19:56:32 +00:00
Function prototype cleanup.
This commit is contained in:
parent
3e1eb02f54
commit
408d63825a
@ -8,6 +8,7 @@
|
|||||||
#include "alexa.h"
|
#include "alexa.h"
|
||||||
#include "cronixie.h"
|
#include "cronixie.h"
|
||||||
#include "xml.h"
|
#include "xml.h"
|
||||||
|
#include "wled_server.h"
|
||||||
|
|
||||||
void _setRandomColor(bool _sec,bool fromButton)
|
void _setRandomColor(bool _sec,bool fromButton)
|
||||||
{
|
{
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
#include "mqtt.h"
|
#include "mqtt.h"
|
||||||
#include "wled_eeprom.h"
|
#include "wled_eeprom.h"
|
||||||
#include "wled_server.h"
|
#include "wled_server.h"
|
||||||
|
|
||||||
// Global Variable definitions
|
// Global Variable definitions
|
||||||
char versionString[] = "0.9.1";
|
char versionString[] = "0.9.1";
|
||||||
|
|
||||||
@ -343,13 +344,6 @@ AsyncWebServer server(80);
|
|||||||
AsyncClient *hueClient = NULL;
|
AsyncClient *hueClient = NULL;
|
||||||
AsyncMqttClient *mqtt = NULL;
|
AsyncMqttClient *mqtt = NULL;
|
||||||
|
|
||||||
//function prototypes
|
|
||||||
void colorFromUint32(uint32_t, bool = false);
|
|
||||||
void serveMessage(AsyncWebServerRequest *, uint16_t, String, String, byte);
|
|
||||||
void handleE131Packet(e131_packet_t *, IPAddress);
|
|
||||||
void arlsLock(uint32_t, byte);
|
|
||||||
void handleOverlayDraw();
|
|
||||||
|
|
||||||
//udp interface objects
|
//udp interface objects
|
||||||
WiFiUDP notifierUdp, rgbUdp;
|
WiFiUDP notifierUdp, rgbUdp;
|
||||||
WiFiUDP ntpUdp;
|
WiFiUDP ntpUdp;
|
||||||
|
@ -354,13 +354,6 @@ extern ESPAsyncE131 e131;
|
|||||||
extern bool e131NewData;
|
extern bool e131NewData;
|
||||||
extern WS2812FX strip;
|
extern WS2812FX strip;
|
||||||
|
|
||||||
// Function prototypes
|
|
||||||
extern void colorFromUint32(uint32_t, bool);
|
|
||||||
extern void serveMessage(AsyncWebServerRequest *, uint16_t, String, String, byte);
|
|
||||||
extern void handleE131Packet(e131_packet_t *, IPAddress);
|
|
||||||
extern void arlsLock(uint32_t, byte);
|
|
||||||
extern void handleOverlayDraw();
|
|
||||||
|
|
||||||
#define WLED_CONNECTED (WiFi.status() == WL_CONNECTED)
|
#define WLED_CONNECTED (WiFi.status() == WL_CONNECTED)
|
||||||
#define WLED_WIFI_CONFIGURED (strlen(clientSSID) >= 1 && strcmp(clientSSID, DEFAULT_CLIENT_SSID) != 0)
|
#define WLED_WIFI_CONFIGURED (strlen(clientSSID) >= 1 && strcmp(clientSSID, DEFAULT_CLIENT_SSID) != 0)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user