Commit c0be77c7 authored by Jean-Claude BAU's avatar Jean-Claude BAU

Spelling mistake correction

Tollerance replaced by tolerance.
parent 7a240a19
...@@ -1128,7 +1128,7 @@ void phase_test_mode1(int ep) ...@@ -1128,7 +1128,7 @@ void phase_test_mode1(int ep)
#define MDIO_DBG1 19 #define MDIO_DBG1 19
#define MDIO_DBG0 18 #define MDIO_DBG0 18
int force_tx_phase(int ep, int center, int tollerance) int force_tx_phase(int ep, int center, int tolerance)
{ {
int n_attempts = 0; int n_attempts = 0;
...@@ -1148,7 +1148,7 @@ int force_tx_phase(int ep, int center, int tollerance) ...@@ -1148,7 +1148,7 @@ int force_tx_phase(int ep, int center, int tollerance)
int n = tx_phase - center + 10000; int n = tx_phase - center + 10000;
if (n > 10000 - tollerance && n < 10000 + tollerance) if (n > 10000 - tolerance && n < 10000 + tolerance)
{ {
fprintf(stderr, "locked on %d ps after %d attempts.\n", tx_phase, n_attempts); fprintf(stderr, "locked on %d ps after %d attempts.\n", tx_phase, n_attempts);
return 1; return 1;
......
Markdown is supported
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