Hi,
This is also a problem in the touch screen demo, just do the same as described below.
I just removed this:
" || (audio_out_state == HAL_SAI_STATE_TIMEOUT) || (audio_out_state == HAL_SAI_STATE_ERROR)"
and
" || (audio_in_state == HAL_SAI_STATE_TIMEOUT) || (audio_in_state == HAL_SAI_STATE_ERROR)"
Then it should look like this:
/* 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))
{
BSP_AUDIO_OUT_Error_CallBack();
}
if ((audio_in_state == HAL_SAI_STATE_BUSY) || (audio_in_state == HAL_SAI_STATE_BUSY_RX))
{
BSP_AUDIO_IN_Error_CallBack();
}
And then you have to select "Compile All"
Hi, I tried to compile the LCD demo and the TouchScreen demo, but are some error messages about audio HAL.
Is the template broken or I need to configure something?