From c1f288c42edb44816d998cc90d31522868fc6e7b Mon Sep 17 00:00:00 2001 From: Mika Laitio Date: Sun, 31 Oct 2010 02:24:34 +0300 Subject: [PATCH] increased the storage intervals from test application --- src_test/test_w1.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src_test/test_w1.cc b/src_test/test_w1.cc index e0ceb1d..e3a17f3 100644 --- a/src_test/test_w1.cc +++ b/src_test/test_w1.cc @@ -29,9 +29,12 @@ int main(int argc, char** argv) { location = argv[1]; log_info("storage location: %s\n", location.c_str()); } + else { + log_warning("storage location was not given as a parameter, using default location: %s\n", location.c_str()); + } W1Store::set_location(location.c_str()); - interval_seconds = 3; - store_interval = 3; + interval_seconds = 600; + store_interval = 6; scanner = new W1Scanner(); device_list = scanner->get_device_list(); round = 0; -- 2.41.1