mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 23:42:51 +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
Origin commit data
------------------
Branch: ni/coolstream
Commit: d88dece038
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2010-08-18 (Wed, 18 Aug 2010)
Origin message was:
------------------
-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 was generated by Migit
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