mirror of
https://github.com/shakemid/pcsensor-temper.git
synced 2025-01-21 09:08:17 +01:00
Fix loop
This commit is contained in:
parent
e3452614e6
commit
71a903e649
1 changed files with 2 additions and 3 deletions
|
@ -446,10 +446,9 @@ int main(int argc, char **argv) {
|
|||
if (devices[i].type->has_humid == 1) {
|
||||
printf("%s\t%d\thumidity\t%.2f %%\n", strdate, i, tempd[1]);
|
||||
}
|
||||
|
||||
if (!bsalir)
|
||||
sleep(seconds);
|
||||
}
|
||||
if (!bsalir)
|
||||
sleep(seconds);
|
||||
} while (!bsalir);
|
||||
|
||||
for (i = 0; i < numdev; i++) {
|
||||
|
|
Loading…
Add table
Reference in a new issue