Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
Fan-Control-Daemon
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
CeRiAl
Fan-Control-Daemon
Commits
202ebf2a
Commit
202ebf2a
authored
Jul 03, 2012
by
Daniel Graziotin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup
parent
10788141
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
mbpfan.c
src/mbpfan.c
+0
-1
mbpfan.h
src/mbpfan.h
+10
-1
No files found.
src/mbpfan.c
View file @
202ebf2a
...
@@ -251,7 +251,6 @@ void set_fan_speed(t_sensors* sensors, int speed)
...
@@ -251,7 +251,6 @@ void set_fan_speed(t_sensors* sensors, int speed)
/* Returns average CPU temp in degrees (ceiling) */
unsigned
short
get_temp
(
t_sensors
*
sensors
)
unsigned
short
get_temp
(
t_sensors
*
sensors
)
{
{
sensors
=
refresh_sensors
(
sensors
);
sensors
=
refresh_sensors
(
sensors
);
...
...
src/mbpfan.h
View file @
202ebf2a
...
@@ -61,6 +61,12 @@ void find_fans(t_sensors *sensors);
...
@@ -61,6 +61,12 @@ void find_fans(t_sensors *sensors);
*/
*/
void
set_fans_man
(
t_sensors
*
sensors
);
void
set_fans_man
(
t_sensors
*
sensors
);
/**
* Given a list of sensors with associated fans
* Change their speed
*/
void
set_fan_speed
(
t_sensors
*
sensors
,
int
speed
)
/**
/**
* Return average CPU temp in degrees (ceiling)
* Return average CPU temp in degrees (ceiling)
*/
*/
...
@@ -70,3 +76,6 @@ unsigned short get_temp(t_sensors* sensors);
...
@@ -70,3 +76,6 @@ unsigned short get_temp(t_sensors* sensors);
* Main Program
* Main Program
*/
*/
void
mbpfan
();
void
mbpfan
();
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment