Il y avait des problèmes dans la libraire...

Dependents:   X_NUCLEO_CCA02M1

Fork of ST_I2S by ST

Revision:
13:fa1b24df9025
Parent:
10:1a612c2e4a85
Child:
16:04e1abb4cca3
--- a/drivers/I2S.h	Thu Dec 22 15:00:34 2016 +0100
+++ b/drivers/I2S.h	Fri Dec 23 12:27:30 2016 +0100
@@ -66,6 +66,14 @@
      */
     int audio_frequency(unsigned int hz);
 
+    /** Get the i2s audio frequency
+     *
+     *  @return Currently set audio frequency
+     */
+    unsigned int get_audio_frequency(void) {
+    	return _hz;
+    }
+
     /** Set the i2s bus protocol
      *
      *  @param protocol I2S protocol to be used