Projet

Dependents:   DISCO-F746NG_Scope_copy

Fork of BSP_DISCO_F746NG by ST

Revision:
3:8ae03419c0f3
Parent:
2:458ab1edf6b2
Child:
4:8603c9675405
diff -r 458ab1edf6b2 -r 8ae03419c0f3 stm32746g_discovery_audio.c
--- a/stm32746g_discovery_audio.c	Thu Mar 24 20:50:59 2016 +0000
+++ b/stm32746g_discovery_audio.c	Tue Nov 08 10:22:32 2016 +0000
@@ -488,14 +488,14 @@
   audio_in_state = HAL_SAI_GetState(&haudio_in_sai);
 
   /* Determines if it is an audio out or audio in error */
-  if ((audio_out_state == HAL_SAI_STATE_BUSY) || (audio_out_state == HAL_SAI_STATE_BUSY_TX)
-   || (audio_out_state == HAL_SAI_STATE_TIMEOUT) || (audio_out_state == HAL_SAI_STATE_ERROR))
+  if ((audio_out_state == HAL_SAI_STATE_BUSY) || (audio_out_state == HAL_SAI_STATE_BUSY_TX))
+//   || (audio_out_state == HAL_SAI_STATE_TIMEOUT) || (audio_out_state == HAL_SAI_STATE_ERROR)) // Removed in STM32746G-Discovery BSP Driver V1.1.1
   {
     BSP_AUDIO_OUT_Error_CallBack();
   }
 
-  if ((audio_in_state == HAL_SAI_STATE_BUSY) || (audio_in_state == HAL_SAI_STATE_BUSY_RX)
-   || (audio_in_state == HAL_SAI_STATE_TIMEOUT) || (audio_in_state == HAL_SAI_STATE_ERROR))
+  if ((audio_in_state == HAL_SAI_STATE_BUSY) || (audio_in_state == HAL_SAI_STATE_BUSY_RX))
+//   || (audio_in_state == HAL_SAI_STATE_TIMEOUT) || (audio_in_state == HAL_SAI_STATE_ERROR)) // Removed in STM32746G-Discovery BSP Driver V1.1.1
   {
     BSP_AUDIO_IN_Error_CallBack();
   }