# HG changeset patch # User Daniele Nicolodi # Date 1411059016 -7200 # Node ID c244a1ecb6c32e7f91d68bd0f56c7e02849e6278 # Parent 64db9d10164b215095124f48a305e0b4aaa95c7a Log when dedrift is automatically stop diff -r 64db9d10164b -r c244a1ecb6c3 FXAnalyse.c --- a/FXAnalyse.c Thu Sep 18 18:13:55 2014 +0200 +++ b/FXAnalyse.c Thu Sep 18 18:50:16 2014 +0200 @@ -1305,7 +1305,9 @@ (dedrift.threshold != 0.0) && (freq.previous != 0.0) && (fabs(f - freq.previous) > dedrift.threshold)) { - + + logmsg("dedrift stop: frequency jump detected"); + if (! dedrift.keep_slope) { dedrift.applied = 0.0; ad9956_set_sweep_rate_w(&ad9956, dedrift.applied);