Closed xhuw closed 2 years ago
I2S config for slave is not initialised on creation. Therefore if the user does not set a field in the config it will have a random value and will lead to unpredictable behaviour.
https://github.com/xmos/fwk_io/blob/develop/modules/i2s/src/i2s_slave.c#L67
Suggested solution: initialise the config struct with sensible defaults
I2S config for slave is not initialised on creation. Therefore if the user does not set a field in the config it will have a random value and will lead to unpredictable behaviour.
https://github.com/xmos/fwk_io/blob/develop/modules/i2s/src/i2s_slave.c#L67
Suggested solution: initialise the config struct with sensible defaults