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.
Fork of USBDevice by
Diff: USBAudio/USBAudio.cpp
- Revision:
- 61:7070d167c2ad
- Parent:
- 47:a0cd9646ecd1
diff -r 0e6b3f44926e -r 7070d167c2ad USBAudio/USBAudio.cpp --- a/USBAudio/USBAudio.cpp Fri Jan 15 07:45:55 2016 +0000 +++ b/USBAudio/USBAudio.cpp Wed Mar 16 14:04:16 2016 +0000 @@ -115,7 +115,7 @@ float USBAudio::getVolume() { - return (mute) ? 0.0 : volume; + return (mute) ? (float)0.0 : volume; }