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.
Dependents: DISCO-F746NG_LCDTS_CC3000_NTP DISCO-F746NG_ROPE_WIFI F746_SpectralAnalysis_NoPhoto ecte433 ... more
Diff: stm32746g_discovery_audio.c
- 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();
}