Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Channel.cpp
- Revision:
- 6:2c928a654a35
- Parent:
- 0:88f8e80dc5fd
--- 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; }