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.
Revision 6:2c928a654a35, committed 2014-06-05
- 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; }