print fan zone value
This commit is contained in:
parent
04fadc760c
commit
16b8a7fa40
4
main.cpp
4
main.cpp
@ -133,7 +133,9 @@ int main (int argc, char **argv)
|
|||||||
while(running)
|
while(running)
|
||||||
{
|
{
|
||||||
std::vector<Sensor> sensors = gather_sensors(ipmi_sensors, ctx, lm_chips);
|
std::vector<Sensor> sensors = gather_sensors(ipmi_sensors, ctx, lm_chips);
|
||||||
get_fan_zones(sensors);
|
std::vector<double> fanzones = get_fan_zones(sensors);
|
||||||
|
for(const double fanzone : fanzones)
|
||||||
|
std::cout<<fanzone<<'\n';
|
||||||
sleep(1);
|
sleep(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user