提交 29c6f6ed 编写于 作者: L liyangyang 提交者: mysterywolf

Remove duplicate initialization code

上级 464f8272
......@@ -42,12 +42,3 @@ const pin_map_t pin_map_table[]=
{A5, RT_NULL, "adc1", 17}, /* ADC, On-Chip: internal reference voltage, ADC_CHANNEL_VREFINT */
{A6, RT_NULL, "adc1", 16} /* ADC, On-Chip: internal temperature sensor, ADC_CHANNEL_TEMPSENSOR */
};
/*
* Before RTdunio is used, you can do some necessary initialization through this function
*/
void initVariant()
{
/* JTAG-DP Disabled and SW-DP enabled */
__HAL_RCC_AFIO_CLK_ENABLE();
__HAL_AFIO_REMAP_SWJ_NOJTAG();
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册