From b6cf07b314226903e97d4c03676edd47f3bb468a Mon Sep 17 00:00:00 2001 From: Alex Imcu Date: Fri, 8 Nov 2024 15:36:37 +0800 Subject: [PATCH] [bsp][cvitek] fix pinmux array order error (#9593) --- bsp/cvitek/drivers/drv_pinmux.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bsp/cvitek/drivers/drv_pinmux.c b/bsp/cvitek/drivers/drv_pinmux.c index 9d9fb49246..c9eacc73d1 100644 --- a/bsp/cvitek/drivers/drv_pinmux.c +++ b/bsp/cvitek/drivers/drv_pinmux.c @@ -116,7 +116,10 @@ struct fmux pinmux_array[] = { FS_PINMUX(SD1_CLK), FS_PINMUX(PWM0_BUCK), FS_PINMUX(ADC1), + FS_PINMUX(PKG_TYPE0), FS_PINMUX(USB_VBUS_DET), + FS_PINMUX(PKG_TYPE1), + FS_PINMUX(PKG_TYPE2), FS_PINMUX(MUX_SPI1_MISO), FS_PINMUX(MUX_SPI1_MOSI), FS_PINMUX(MUX_SPI1_CS), @@ -142,9 +145,6 @@ struct fmux pinmux_array[] = { FS_PINMUX(PAD_MIPI_TXP1), FS_PINMUX(PAD_MIPI_TXM0), FS_PINMUX(PAD_MIPI_TXP0), - FS_PINMUX(PKG_TYPE0), - FS_PINMUX(PKG_TYPE1), - FS_PINMUX(PKG_TYPE2), FS_PINMUX(PAD_AUD_AINL_MIC), FS_PINMUX(PAD_AUD_AINR_MIC), FS_PINMUX(PAD_AUD_AOUTL),