Fixed severe error that made notifications button not work

Updated binaries
This commit is contained in:
cschwinne 2017-12-12 20:22:12 +01:00
parent fa517d5d22
commit 7a22c4e169
7 changed files with 8 additions and 9 deletions

View File

@ -1,4 +1,4 @@
#define RGBW
//#define RGBW
/*
WS2812FX.h - Library for WS2812 LED effects.

File diff suppressed because one or more lines are too long

View File

@ -59,8 +59,8 @@
d.Cf.SX.value = this.responseXML.getElementsByTagName('sx')[0].childNodes[0].nodeValue;
nla = (this.responseXML.getElementsByTagName('nl')[0].innerHTML)!=0?true:false;
nState = 0;
nState = (this.responseXML.getElementsByTagName('nr')[0].innerHTML)!=0?true:false;
nState += 2*(this.responseXML.getElementsByTagName('ns')[0].innerHTML)!=0?true:false;
nState = (this.responseXML.getElementsByTagName('nr')[0].innerHTML)!=0?1:0;
nState += (this.responseXML.getElementsByTagName('ns')[0].innerHTML)!=0?2:0;
hsb = (this.responseXML.getElementsByTagName('md')[0].innerHTML)!=0?true:false;
d.getElementsByClassName("desc")[0].innerHTML = this.responseXML.getElementsByTagName('desc')[0].innerHTML;
UV();
@ -68,7 +68,6 @@
}
}
}
// send HTTP request
request.open("GET", "win/" +resp +nocache, true);
request.send(null);
resp="";

File diff suppressed because one or more lines are too long

View File

@ -20,7 +20,7 @@
#include "WS2812FX.h"
//version in format yymmddb (b = daily build)
#define VERSION 1712121
#define VERSION 1712122
//If you have an RGBW strip, uncomment first line in WS2812FX.h!
@ -96,7 +96,7 @@ boolean turnOnAtBoot = true;
uint8_t bootPreset = 0;
byte col_s[]{255, 159, 0};
byte col_sec_s[]{0, 0, 0};
boolean useRGBW = true;
boolean useRGBW = false;
byte white_s = 0;
byte white_sec_s = 0;
byte bri_s = 127;