Compiles, but does not link.

pull/814/head
Travis J Dean 2020-03-25 05:43:12 -04:00
rodzic 6f5e71164a
commit ccf5e66f31
9 zmienionych plików z 17 dodań i 4 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -4,7 +4,7 @@
* Sync to Philips hue lights
*/
#include <Arduino.h>
#include <ESPAsyncTCP.h>
class AsyncClient;
void handleHue();
void reconnectHue();

Wyświetl plik

@ -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

Wyświetl plik

@ -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

Wyświetl plik

@ -1,5 +1,7 @@
#include "wled_overlay.h"
#include "wled.h"
#include "wled_cronixie.h"
#include "wled_ntp.h"
void initCronixie()
{

Wyświetl plik

@ -8,5 +8,7 @@
void initCronixie();
void handleOverlays();
void handleOverlayDraw();
void _overlayAnalogCountdown();
void _overlayAnalogClock();
#endif // WLED_OVERLAY_H

Wyświetl plik

@ -4,6 +4,8 @@
/*
* Server page declarations
*/
class AsyncWebServerRequest;
bool isIp(String str);
bool captivePortal(AsyncWebServerRequest *request);

Wyświetl plik

@ -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;

Wyświetl plik

@ -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;