mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 23:42:51 +02:00
system/setting_helpers.cpp: fix unused warning on apollo
Origin commit data
------------------
Branch: ni/coolstream
Commit: ced8b191b1
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-01-30 (Wed, 30 Jan 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -495,11 +495,9 @@ int CDataResetNotifier::exec(CMenuTarget* /*parent*/, const std::string& actionK
|
|||||||
|
|
||||||
void CFanControlNotifier::setSpeed(unsigned int speed)
|
void CFanControlNotifier::setSpeed(unsigned int speed)
|
||||||
{
|
{
|
||||||
#ifndef BOXMODEL_APOLLO
|
|
||||||
int cfd;
|
|
||||||
|
|
||||||
printf("FAN Speed %d\n", speed);
|
printf("FAN Speed %d\n", speed);
|
||||||
cfd = open("/dev/cs_control", O_RDONLY);
|
#ifndef BOXMODEL_APOLLO
|
||||||
|
int cfd = open("/dev/cs_control", O_RDONLY);
|
||||||
if(cfd < 0) {
|
if(cfd < 0) {
|
||||||
perror("Cannot open /dev/cs_control");
|
perror("Cannot open /dev/cs_control");
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user