Commit 243edc05 authored by Jeroen Vreeken's avatar Jeroen Vreeken
Browse files

o Only log about disabling the sattracker if it was enabled in the first place.

o Add version javascript to the gitignore file since it is generated.
parent c6663c52
......@@ -311,8 +311,9 @@ int main(int argc, char **argv)
}
}
if (!switch_cmd && fabs(last_az - az) > 180.0) {
log_send(LOG_T_WARNING,
"Disabling tracker to prevent large azimuth jump");
if (switch_enabled)
log_send(LOG_T_WARNING,
"Disabling tracker to prevent large azimuth jump");
switch_enabled = false;
}
......
......@@ -3,3 +3,4 @@ status.cgi
trace.cgi
shell.cgi
trace.cgi
console_version.js
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment