From 860c2db7bd6c367f28cd18df2c24ef20c7043590 Mon Sep 17 00:00:00 2001 From: Joris van Rantwijk Date: Wed, 22 Jan 2014 23:11:39 +0100 Subject: [PATCH] Remove unnecessary special case for PPS output. --- main.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/main.cc b/main.cc index 37a3353..4ead3ac 100644 --- a/main.cc +++ b/main.cc @@ -612,10 +612,6 @@ int main(int argc, char **argv) for (const PilotPhaseLock::PpsEvent& ev : fm.get_pps_events()) { double ts = prev_block_time; ts += ev.block_position * (block_time - prev_block_time); - if (ppsfile == stdout && isatty(fileno(ppsfile))) { - fprintf(stderr, "\n"); - fflush(stderr); - } fprintf(ppsfile, "%8s %14s %18.6f\n", to_string(ev.pps_index).c_str(), to_string(ev.sample_index).c_str(),