X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor.git;a=blobdiff_plain;f=src%2Fmain.c;fp=src%2Fmain.c;h=a24c636626835a841ed8e67e4f5bf482b3c61a37;hp=5686f5be40f37c5e2cd1df0e52bbfa462d73b214;hb=ca30742ed33315bdd0620d7a6ef417ab7405a0ba;hpb=a2bce14963ee379e9f5b5e745304129b651e7352 diff --git a/src/main.c b/src/main.c index 5686f5b..a24c636 100644 --- a/src/main.c +++ b/src/main.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2016 jeanfi@gmail.com + * Copyright (C) 2010-2017 jeanfi@gmail.com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -31,6 +31,7 @@ #include #include +#include #include #include #include @@ -144,6 +145,7 @@ static void *update_measures(void *data) gtop2_psensor_list_update(sensors); atasmart_psensor_list_update(sensors); hddtemp_psensor_list_update(sensors); + bcm2835_psensor_list_update(sensors); psensor_log_measures(sensors); @@ -415,6 +417,8 @@ static struct psensor **create_sensors_list(const char *url) if (config_is_udisks2_enabled()) udisks2_psensor_list_append(&sensors, 600); + + bcm2835_psensor_list_append(&sensors, 600); } associate_preferences(sensors);