This makes it easier to follow the logs when the daemon doesn't have
an interactive tty for its output.
Signed-off-by: Timo Kokkonen <timo.t.kokkonen@iki.fi>
printf("%s %0.4lf deg C, %0.4lf hPa, %0.4lf%%, dp: %.3f C\n",
s, temp, press, hum, dew);
printf("%s %0.4lf deg C, %0.4lf hPa, %0.4lf%%, dp: %.3f C\n",
s, temp, press, hum, dew);
pthread_mutex_lock(&bme->lock);
for (i = 0; i < ARRAY_SIZE(bme->data) - 1; i++)
pthread_mutex_lock(&bme->lock);
for (i = 0; i < ARRAY_SIZE(bme->data) - 1; i++)