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 2:9a8ae3a8e5ea, committed 2017-02-25
- Comitter:
- TeaPack_CZ
- Date:
- Sat Feb 25 22:20:47 2017 +0000
- Parent:
- 1:90161871ad88
- Commit message:
- revert incremental transpose level to absolute.
Changed in this revision
| PlayTone.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 90161871ad88 -r 9a8ae3a8e5ea PlayTone.cpp
--- a/PlayTone.cpp Sun Oct 02 11:59:32 2016 +0000
+++ b/PlayTone.cpp Sat Feb 25 22:20:47 2017 +0000
@@ -128,7 +128,7 @@
void PlayTone::transpose(int level)
{
- offset += level;
+ offset = level;
}
void PlayTone::playSequence(int sequence_length, int notes[], float values[])