diff --git a/config/open_source/tgt_hardware.c b/config/open_source/tgt_hardware.c index 65b4ba9..784e30e 100644 --- a/config/open_source/tgt_hardware.c +++ b/config/open_source/tgt_hardware.c @@ -82,7 +82,7 @@ const struct HAL_KEY_GPIOKEY_CFG_T cfg_hw_gpio_key_cfg[CFG_HW_GPIOKEY_NUM] = { #endif #endif */ - {HAL_KEY_CODE_FN1,{HAL_IOMUX_PIN_P1_5, HAL_IOMUX_FUNC_AS_GPIO, HAL_IOMUX_PIN_VOLTAGE_VIO, HAL_IOMUX_PIN_PULLUP_ENABLE}}, + // {HAL_KEY_CODE_FN1,{HAL_IOMUX_PIN_P1_5, HAL_IOMUX_FUNC_AS_GPIO, HAL_IOMUX_PIN_VOLTAGE_VIO, HAL_IOMUX_PIN_PULLUP_ENABLE}}, }; //bt config diff --git a/config/open_source/tgt_hardware.h b/config/open_source/tgt_hardware.h index 84dfc4b..50ca0d9 100644 --- a/config/open_source/tgt_hardware.h +++ b/config/open_source/tgt_hardware.h @@ -76,7 +76,7 @@ extern const uint16_t CFG_HW_ADCKEY_MAP_TABLE[CFG_HW_ADCKEY_NUMBER]; #elif BES_AUDIO_DEV_Main_Board_9v0 #define CFG_HW_GPIOKEY_NUM (6) #else -#define CFG_HW_GPIOKEY_NUM (1) +#define CFG_HW_GPIOKEY_NUM (0) #endif #endif