diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-06-15 17:52:59 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-06-15 17:52:59 +0200 |
commit | b3072ff9363bcdc3b17d01043714726e82b8b4c3 (patch) | |
tree | 2c0dceca29736151422e48c3eb611f20ff983051 | |
parent | 460a7a1ff6f86a372862f6293e0b915f1c5507ad (diff) |
tracker/test: disable discontinuity on +-180
-rw-r--r-- | tracker-test/test.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tracker-test/test.cpp b/tracker-test/test.cpp index 842b24b0..32ff5336 100644 --- a/tracker-test/test.cpp +++ b/tracker-test/test.cpp @@ -50,10 +50,12 @@ void FTNoIR_Tracker::data(double *data) if (i >= 3) { +#if 0 if (x > pi + pi/2) x -= pi; else if (x > pi/2 && x < pi) x += pi; +#endif data[i] = sin(x) * 180; } |