summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatt2006-12-16 23:43:21 +0000
committermatt2006-12-16 23:43:21 +0000
commita9da4b3439c7c90e4fd20d2fe1e43958656cda12 (patch)
tree56a9bdedd16b7a6dd7c5001edffb40986d4ba098
parenta7e596eb3785b37cf0034b457187cc52d44c6bfd (diff)
downloadgnuradio-a9da4b3439c7c90e4fd20d2fe1e43958656cda12.tar.gz
gnuradio-a9da4b3439c7c90e4fd20d2fe1e43958656cda12.tar.bz2
gnuradio-a9da4b3439c7c90e4fd20d2fe1e43958656cda12.zip
change order to avoid silly warnings
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@4104 221aa14e-8319-0410-a670-987f0aec2ac5
-rw-r--r--gnuradio-core/src/lib/general/gri_agc2_ff.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnuradio-core/src/lib/general/gri_agc2_ff.h b/gnuradio-core/src/lib/general/gri_agc2_ff.h
index b0bff04c3..c9b5b9bcf 100644
--- a/gnuradio-core/src/lib/general/gri_agc2_ff.h
+++ b/gnuradio-core/src/lib/general/gri_agc2_ff.h
@@ -39,14 +39,14 @@ class gri_agc2_ff {
: _attack_rate(attack_rate), _decay_rate(decay_rate), _reference(reference),
_gain(gain), _max_gain(max_gain) {};
- float decay_rate () const { return _decay_rate; }
float attack_rate () const { return _attack_rate; }
+ float decay_rate () const { return _decay_rate; }
float reference () const { return _reference; }
float gain () const { return _gain; }
float max_gain () const { return _max_gain; }
- void set_decay_rate (float rate) { _decay_rate = rate; }
void set_attack_rate (float rate) { _attack_rate = rate; }
+ void set_decay_rate (float rate) { _decay_rate = rate; }
void set_reference (float reference) { _reference = reference; }
void set_gain (float gain) { _gain = gain; }
void set_max_gain (float max_gain) { _max_gain = max_gain; }
@@ -79,8 +79,8 @@ class gri_agc2_ff {
}
protected:
- float _decay_rate; // decay rate for slow changing signals
float _attack_rate; // attack_rate for fast changing signals
+ float _decay_rate; // decay rate for slow changing signals
float _reference; // reference value
float _gain; // current gain
float _max_gain; // maximum gain