mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
system/setting_helpers.cpp: fix unused warning on apollo
This commit is contained in:
@@ -495,11 +495,9 @@ 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);
|
||||
cfd = open("/dev/cs_control", O_RDONLY);
|
||||
#ifndef BOXMODEL_APOLLO
|
||||
int cfd = open("/dev/cs_control", O_RDONLY);
|
||||
if(cfd < 0) {
|
||||
perror("Cannot open /dev/cs_control");
|
||||
return;
|
||||
|
Reference in New Issue
Block a user