提交 8e09d58e 编写于 作者: T tanek liang

[Bsp] stm32f107 delete c99 mode code

上级 370be083
......@@ -419,8 +419,9 @@ rt_err_t stm32_spi_register(SPI_TypeDef * SPI,
{
rt_err_t res = RT_EOK;
NVIC_InitTypeDef NVIC_InitStructure;
RCC_APB2PeriphClockCmd(RCC_APB2Periph_AFIO, ENABLE);
rt_uint32_t flags = 0;
RCC_APB2PeriphClockCmd(RCC_APB2Periph_AFIO, ENABLE);
if(SPI == SPI1)
{
stm32_spi->SPI = SPI1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册