kobe leysen / DAQ

Dependents:   TEST

Files at this revision

API Documentation at this revision

Comitter:
leysenkobe
Date:
Thu Jun 05 12:17:46 2014 +0000
Parent:
5:3bd9edf55a56
Commit message:
aamp;

Changed in this revision

Channel.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/Channel.cpp	Tue Jun 03 08:09:59 2014 +0000
+++ b/Channel.cpp	Thu Jun 05 12:17:46 2014 +0000
@@ -31,7 +31,7 @@
 }
 void Channel::setAmplification(int newAmplification)
 {
-    if(newAmplification==1 || newAmplification==10 || newAmplification==100 || newAmplification==1000)
+    if(newAmplification==1 || newAmplification==2 || newAmplification==5 || newAmplification==10 || newAmplification==20 || newAmplification==50 || newAmplification==100 || newAmplification==200 || newAmplification==500 || newAmplification==1000 || newAmplification==2000 || newAmplification==5000 || newAmplification==10000)
     {
         amplification = newAmplification;
     }