From 5bf3caa87e4c3c12b819db2247ac773467e147b1 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Wed, 16 Jan 2013 15:52:06 +0400 Subject: [PATCH] system/setting_helpers.cpp: dont use IOC_CONTROL_PWM_SPEED on apollo Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/093eae2ebc16ad73bdb8c510caa1ae922d6c5a0f Author: [CST] Focus Date: 2013-01-16 (Wed, 16 Jan 2013) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/system/setting_helpers.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/system/setting_helpers.cpp b/src/system/setting_helpers.cpp index 266190155..db12ac075 100644 --- a/src/system/setting_helpers.cpp +++ b/src/system/setting_helpers.cpp @@ -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)