Function prototype cleanup.

This commit is contained in:
Travis J Dean 2020-03-30 04:26:41 -04:00
parent 3e1eb02f54
commit 408d63825a
3 changed files with 2 additions and 14 deletions

View File

@ -8,6 +8,7 @@
#include "alexa.h"
#include "cronixie.h"
#include "xml.h"
#include "wled_server.h"
void _setRandomColor(bool _sec,bool fromButton)
{

View File

@ -14,6 +14,7 @@
#include "mqtt.h"
#include "wled_eeprom.h"
#include "wled_server.h"
// Global Variable definitions
char versionString[] = "0.9.1";
@ -343,13 +344,6 @@ AsyncWebServer server(80);
AsyncClient *hueClient = 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
WiFiUDP notifierUdp, rgbUdp;
WiFiUDP ntpUdp;

View File

@ -354,13 +354,6 @@ extern ESPAsyncE131 e131;
extern bool e131NewData;
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_WIFI_CONFIGURED (strlen(clientSSID) >= 1 && strcmp(clientSSID, DEFAULT_CLIENT_SSID) != 0)