Fixed Clock overlay not working in reverse mode

Removed need for Macros to start with capital letter
pull/68/head
cschwinne 2018-10-18 18:06:46 +02:00
rodzic 377e4fa0a5
commit f970780d6c
4 zmienionych plików z 3 dodań i 4 usunięć

Wyświetl plik

@ -99,8 +99,8 @@ void WS2812FX::setPixelColor(uint16_t n, uint32_t c) {
void WS2812FX::setPixelColor(uint16_t i, byte r, byte g, byte b, byte w)
{
if (_reverseMode) i = _length - 1 -i;
if (_locked[i] && SEGMENT.mode != FX_MODE_FIRE_2012) return;
if (_reverseMode) i = _length - 1 -i;
if (IS_REVERSE) i = SEGMENT.stop - (i - SEGMENT.start); //reverse just individual segment
if (!_cronixieMode)
{

Wyświetl plik

@ -45,7 +45,7 @@
//version code in format yymmddb (b = daily build)
#define VERSION 1810151
#define VERSION 1810181
char versionString[] = "0.8.0";

Wyświetl plik

@ -567,7 +567,6 @@ String loadMacro(byte index)
if (EEPROM.read(i) == 0) break;
m += char(EEPROM.read(i));
}
if (m.charAt(0) < 65 || m.charAt(0) > 90) return ""; //do simple check if macro is valid (capital first letter)
return m;
}

Wyświetl plik

@ -243,7 +243,7 @@ void getBuildInfo()
#else
oappend("strip-pin: gpio2");
#endif
oappend("\r\nbuild-type: src\r\n");
oappend("\r\nbuild-type: dev\r\n");
}