diff options
author | horchi <vdr@jwendel.de> | 2019-12-20 13:23:25 +0100 |
---|---|---|
committer | horchi <vdr@jwendel.de> | 2019-12-20 13:23:25 +0100 |
commit | 6853f2b6327e468efb77fa989dfa6080c257cf6c (patch) | |
tree | 5fbd295b9b165806230e1cc69b2c242f054bbd3f /config.h | |
parent | a5d6d09bfae8ee47d77dc4c0c5ef994b47240f44 (diff) | |
download | vdr-plugin-seduatmo-6853f2b6327e468efb77fa989dfa6080c257cf6c.tar.gz vdr-plugin-seduatmo-6853f2b6327e468efb77fa989dfa6080c257cf6c.tar.bz2 |
2019-12-20: Version 0.0.9\n Added config RGB order for each LED\n\n
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -29,7 +29,7 @@ class cSeduConfig : public cSeduService int grabWidth; int grabHeight; - // adjust + // adjust int threshold; int adjGreen; @@ -63,12 +63,12 @@ class cSeduConfig : public cSeduService // functions cLed* createLeds(cLedConfs* conf); - void copyLeds(cSeduConfig* c) + void copyLeds(cSeduConfig* c) { ledCount = c->ledCount; leds = new cLed[ledCount]; memset(leds, 0, ledCount*sizeof(cLed)); - + for (int i = 0; i < ledCount; i++) leds[i] = c->leds[i]; } |