Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example AN00247 crashes when run #431

Open
danielpieczko opened this issue Sep 26, 2024 · 0 comments
Open

Example AN00247 crashes when run #431

danielpieczko opened this issue Sep 26, 2024 · 0 comments
Labels

Comments

@danielpieczko
Copy link
Contributor

Thread 2.1 hit Catchpoint -1 (XCore Exception ET_ECALL (DI Resource Lane)), 0x00081414 in XUA_AudioHub (clk_audio_mclk=<optimized out>, clk_audio_bclk=0, p_mclk_in=66304, c_aud=<optimized out>, p_lrclk=<optimized out>, p_bclk=<optimized out>, p_i2s_dac=..., p_i2s_adc=..., c_spdif_out=<optimized out>)
    at C:/xmos/usb_audio/lib_xua/lib_xua/src/core/audiohub/xua_audiohub.xc:710
710             else if (((MCLK_48) % curSamFreq) == 0)
C:/xmos/usb_audio/lib_xua/lib_xua/src/core/audiohub/xua_audiohub.xc:790:24: error: passing null argument to a non-null parameter
            p_mclk_in, clk_audio_bclk, divide, curSamFreq);
                       ^~~~~~~~~~~~~~

clk_audio_bclk is null, which is fine as a parameter to XUA_AudioHub, but this one is not nullable when you reach the call to ConfigAudioPortsWrapper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant