system/setting_helpers.cpp: dont use IOC_CONTROL_PWM_SPEED on apollo

Origin commit data
------------------
Branch: ni/coolstream
Commit: 093eae2ebc
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-01-16 (Wed, 16 Jan 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2013-01-16 15:52:06 +04:00
parent 0cd8db0809
commit 5bf3caa87e

View File

@@ -495,6 +495,7 @@ int CDataResetNotifier::exec(CMenuTarget* /*parent*/, const std::string& actionK
void CFanControlNotifier::setSpeed(unsigned int speed)
{
#ifndef BOXMODEL_APOLLO
int cfd;
printf("FAN Speed %d\n", speed);
@@ -507,6 +508,7 @@ void CFanControlNotifier::setSpeed(unsigned int speed)
perror("IOC_CONTROL_PWM_SPEED");
close(cfd);
#endif
}
bool CFanControlNotifier::changeNotify(const neutrino_locale_t, void * data)