diff options
author | horchi <vdr@jwendel.de> | 2020-08-21 16:36:52 +0200 |
---|---|---|
committer | horchi <vdr@jwendel.de> | 2020-08-21 16:36:52 +0200 |
commit | 740602403557156183e5fdedca7f0e9b9618897f (patch) | |
tree | 682debe540be0d18547c47f4ff09ddd1b5673d75 /config.c | |
parent | 6853f2b6327e468efb77fa989dfa6080c257cf6c (diff) | |
download | vdr-plugin-seduatmo-0.0.10.tar.gz vdr-plugin-seduatmo-0.0.10.tar.bz2 |
2020-08-21: Version 0.0.10\n - added: Auto powerof by TV state (option -t <ip\ndns>)\n\n0.0.10
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -49,7 +49,6 @@ cSeduConfig::cSeduConfig() fixedG = 101; fixedB = 0; - // calculated leds = 0; @@ -60,7 +59,8 @@ cSeduConfig::cSeduConfig() cSeduConfig::~cSeduConfig() { - if (leds) delete leds; + free(tvIp); + delete leds; } //*************************************************************************** @@ -103,7 +103,9 @@ cSeduConfig::cLed* cSeduConfig::createLeds(cLedConfs* conf) leds[seq].y = l->Y(); leds[seq].toX = l->ToX(); leds[seq].toY = l->ToY(); + strcpy(leds[seq].rgbOrder, l->RgbOrder()); + seq++; } } |