summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/setup.c b/setup.c
index d45fdfb..10631d5 100644
--- a/setup.c
+++ b/setup.c
@@ -27,7 +27,6 @@
#include "setup.h"
-
cGraphLCDSetup GraphLCDSetup;
cGraphLCDSetup::cGraphLCDSetup(void)
@@ -53,7 +52,8 @@ cGraphLCDSetup::cGraphLCDSetup(void)
BrightnessActive(100),
BrightnessIdle(100),
BrightnessDelay(30),
- enableSpectrumAnalyzer(1), //span
+ pluginSpectrumAnalyzer(0), // SPAN loaded?
+ enableSpectrumAnalyzer(1),
SAShowVolume(1)
{
}
@@ -92,6 +92,7 @@ void cGraphLCDSetup::CopyFrom(const cGraphLCDSetup * source)
BrightnessActive = source->BrightnessActive;
BrightnessIdle = source->BrightnessIdle;
BrightnessDelay = source->BrightnessDelay;
+ pluginSpectrumAnalyzer = source->pluginSpectrumAnalyzer;
enableSpectrumAnalyzer = source->enableSpectrumAnalyzer;
SAShowVolume = source->SAShowVolume;
}