Skip to content

Commit

Permalink
Don't display parity error report though with HW serial it's not comp…
Browse files Browse the repository at this point in the history
…uted.
  • Loading branch information
dok-net committed Dec 19, 2019
1 parent 56ca965 commit 9a772dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/repeater/repeater.ino
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,13 @@ void loop() {
long seqErrorsps = seqErrors * (1000000.0 / interval);
logger.print(bitRateTxt + 10 * cps + "bps, "
+ seqErrorsps + "cps seq. errors (" + 100.0 * seqErrors / rxCount + "%)");
#ifndef HWLOOPBACK
if (0 != (swSerialConfig & 070))
{
logger.println(String(" (") + parityErrors + " parity errors)");
}
else
#endif
{
logger.println();
}
Expand Down

0 comments on commit 9a772dd

Please sign in to comment.