Skip to content

Instantly share code, notes, and snippets.

@masnagam
Last active July 15, 2020 14:28
Show Gist options
  • Save masnagam/263985322d1eaa5ef2a6e27d57f297d1 to your computer and use it in GitHub Desktop.
Save masnagam/263985322d1eaa5ef2a6e27d57f297d1 to your computer and use it in GitHub Desktop.
Remove CR in log messages from stz2012/recpt1
diff --git recpt1/recpt1core.c recpt1/recpt1core.c
index 9412456..7e2a135 100644
--- recpt1/recpt1core.c
+++ recpt1/recpt1core.c
@@ -171,7 +171,7 @@ calc_cn(int fd, int type, boolean use_bell)
do_bell(bell);
}
else {
- fprintf(stderr, "\rC/N = %fdB", CNR);
+ fprintf(stderr, "C/N = %fdB", CNR);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment