Compiles, but does not link.
This commit is contained in:
parent
6f5e71164a
commit
ccf5e66f31
@ -2,6 +2,8 @@
|
||||
#include "wled.h"
|
||||
#include "wled_colors.h"
|
||||
#include "wled_eeprom.h"
|
||||
#include "wled_notify.h"
|
||||
#include "wled_led.h"
|
||||
|
||||
#ifndef WLED_DISABLE_HUESYNC
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
* Sync to Philips hue lights
|
||||
*/
|
||||
#include <Arduino.h>
|
||||
#include <ESPAsyncTCP.h>
|
||||
class AsyncClient;
|
||||
|
||||
void handleHue();
|
||||
void reconnectHue();
|
||||
|
@ -2,6 +2,9 @@
|
||||
#include "wled.h"
|
||||
#include "wled_notify.h"
|
||||
#include "wled_led.h"
|
||||
#include "wled_colors.h"
|
||||
#include "wled_xml.h"
|
||||
#include "wled_set.h"
|
||||
|
||||
#ifdef WLED_ENABLE_MQTT
|
||||
#define MQTT_KEEP_ALIVE_TIME 60 // contact the MQTT broker every 60 seconds
|
||||
|
@ -1,6 +1,7 @@
|
||||
#ifndef WLED_NOTIFY_H
|
||||
#define WLED_NOTIFY_H
|
||||
#include <Arduino.h>
|
||||
#include "src/dependencies/e131/ESPAsyncE131.h"
|
||||
#include "const.h"
|
||||
/*
|
||||
* UDP notifier
|
||||
|
@ -1,5 +1,7 @@
|
||||
#include "wled_overlay.h"
|
||||
#include "wled.h"
|
||||
#include "wled_cronixie.h"
|
||||
#include "wled_ntp.h"
|
||||
|
||||
void initCronixie()
|
||||
{
|
||||
|
@ -8,5 +8,7 @@
|
||||
void initCronixie();
|
||||
void handleOverlays();
|
||||
void handleOverlayDraw();
|
||||
void _overlayAnalogCountdown();
|
||||
void _overlayAnalogClock();
|
||||
|
||||
#endif // WLED_OVERLAY_H
|
@ -4,6 +4,8 @@
|
||||
/*
|
||||
* Server page declarations
|
||||
*/
|
||||
class AsyncWebServerRequest;
|
||||
|
||||
|
||||
bool isIp(String str);
|
||||
bool captivePortal(AsyncWebServerRequest *request);
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include "wled_cronixie.h"
|
||||
#include "wled_xml.h"
|
||||
|
||||
void _setRandomColor(bool _sec,bool fromButton=false)
|
||||
void _setRandomColor(bool _sec,bool fromButton)
|
||||
{
|
||||
lastRandomIndex = strip.get_random_wheel_index(lastRandomIndex);
|
||||
if (_sec){
|
||||
@ -337,7 +337,7 @@ int getNumVal(const String* req, uint16_t pos)
|
||||
|
||||
|
||||
//helper to get int value at a position in string
|
||||
bool updateVal(const String* req, const char* key, byte* val, byte minv=0, byte maxv=255)
|
||||
bool updateVal(const String* req, const char* key, byte* val, byte minv, byte maxv)
|
||||
{
|
||||
int pos = req->indexOf(key);
|
||||
if (pos < 1) return false;
|
||||
|
@ -1,10 +1,11 @@
|
||||
#include "wled_xml.h"
|
||||
#include "wled.h"
|
||||
#include "wled_eeprom.h"
|
||||
#include "wled_ntp.h"
|
||||
|
||||
|
||||
//build XML response to HTTP /win API request
|
||||
char* XML_response(AsyncWebServerRequest *request, char* dest = nullptr)
|
||||
char* XML_response(AsyncWebServerRequest *request, char* dest)
|
||||
{
|
||||
char sbuf[(dest == nullptr)?1024:1]; //allocate local buffer if none passed
|
||||
obuf = (dest == nullptr)? sbuf:dest;
|
||||
|
Loading…
Reference in New Issue
Block a user