aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F4xx/I2S/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32F4xx/I2S/main.c')
-rw-r--r--testhal/STM32F4xx/I2S/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/testhal/STM32F4xx/I2S/main.c b/testhal/STM32F4xx/I2S/main.c
index 306141da8..b96f22fb4 100644
--- a/testhal/STM32F4xx/I2S/main.c
+++ b/testhal/STM32F4xx/I2S/main.c
@@ -58,6 +58,8 @@ int main(void) {
* Starting and configuring the I2S driver 2.
*/
i2sStart(&I2SD2, &i2scfg);
+ palSetPadMode(GPIOB, 10, PAL_MODE_ALTERNATE(5));
+ palSetPadMode(GPIOC, 3, PAL_MODE_ALTERNATE(5));
/*
* Starting continuous I2S transfer.