mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
-add led on/off menu
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@725 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -961,6 +961,11 @@ int CDataResetNotifier::exec(CMenuTarget* /*parent*/, const std::string& actionK
|
||||
}
|
||||
return true;
|
||||
}
|
||||
bool CLedControlNotifier::changeNotify(const neutrino_locale_t, void * data)
|
||||
{
|
||||
CVFD::getInstance()->setled();
|
||||
return true;
|
||||
}
|
||||
|
||||
bool CFanControlNotifier::changeNotify(const neutrino_locale_t, void * data)
|
||||
{
|
||||
@@ -983,9 +988,9 @@ bool CFanControlNotifier::changeNotify(const neutrino_locale_t, void * data)
|
||||
return true;
|
||||
}
|
||||
|
||||
extern cCpuFreqManager * cpuFreq;
|
||||
bool CCpuFreqNotifier::changeNotify(const neutrino_locale_t, void * data)
|
||||
{
|
||||
extern cCpuFreqManager * cpuFreq;
|
||||
int freq = * (int *) data;
|
||||
|
||||
printf("CCpuFreqNotifier: %d Mhz\n", freq);
|
||||
|
Reference in New Issue
Block a user