Fork of official USBDevice with support for STM32F446 Nucleo-64 added.

Fork of USBDevice by mbed official

Files at this revision

API Documentation at this revision

Comitter:
crazyafrican
Date:
Wed Jan 27 00:37:14 2016 +0000
Parent:
60:7662d9ed5011
Commit message:
fixed explicit conversion warning

Changed in this revision

USBAudio/USBAudio.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/USBAudio/USBAudio.cpp	Fri Dec 25 22:51:12 2015 +0000
+++ b/USBAudio/USBAudio.cpp	Wed Jan 27 00:37:14 2016 +0000
@@ -115,7 +115,7 @@
 
 
 float USBAudio::getVolume() {
-    return (mute) ? 0.0 : volume;
+    return (mute) ? 0.0f : volume;
 }