projects
/
weathermon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Штатный способ работы с таймаутами работает стабильнее традиционного с функцией откры...
[weathermon.git]
/
bin
/
weathermon-iio
diff --git
a/bin/weathermon-iio
b/bin/weathermon-iio
index df32c3ad5849bc90d793f4379aa76b61667f1da0..f6e979f1c50939497b0c3234ff0452a1fe7c2d2f 100755
(executable)
--- a/
bin/weathermon-iio
+++ b/
bin/weathermon-iio
@@
-173,7
+173,7
@@
if not config_name then
config_name = "weathermon"
end
config_name = "weathermon"
end
-web_id =
uci.get(config_name,"web","devid"
)
+web_id =
get_devid(config_name
)
parameters = init(config_name)
parameters = init(config_name)
@@
-188,6
+188,8
@@
if not delay then
delay = 60
end
delay = 60
end
+io.stdout:setvbuf('no')
+
while true do
if pcall(function () values = get_parameters(parameters) end) then
records = {}
while true do
if pcall(function () values = get_parameters(parameters) end) then
records = {}