logger: fix '-r 0' parameter: should be unlimited rate instead of 1Hz

This commit is contained in:
Beat Küng
2016-07-05 13:40:01 +02:00
parent c94fe845ec
commit c4e77cf411
+1 -1
View File
@@ -252,7 +252,7 @@ void Logger::run_trampoline(int argc, char *argv[])
unsigned long r = strtoul(myoptarg, NULL, 10);
if (r <= 0) {
r = 1;
r = 1e6;
}
log_interval = 1e6 / r;