Commit 202ebf2a authored by Daniel Graziotin's avatar Daniel Graziotin

Cleanup

parent 10788141
......@@ -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)
{
sensors = refresh_sensors(sensors);
......
......@@ -61,6 +61,12 @@ void find_fans(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)
*/
......@@ -69,4 +75,7 @@ unsigned short get_temp(t_sensors* sensors);
/**
* Main Program
*/
void mbpfan();
\ No newline at end of file
void mbpfan();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment