From: Mika Laitio Date: Sat, 30 Oct 2010 23:24:34 +0000 (+0300) Subject: increased the storage intervals from test application X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=c1f288c42edb44816d998cc90d31522868fc6e7b;p=lib1wire.git increased the storage intervals from test application --- 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;