format wch bsp code.

This commit is contained in:
charlown
2021-09-02 22:49:01 +08:00
parent 8abbe89cee
commit 02a3ac4036
4 changed files with 115 additions and 115 deletions
@@ -14,5 +14,5 @@
int main(void)
{
return RT_EOK;
return RT_EOK;
}
+1 -1
View File
@@ -134,7 +134,7 @@ rt_uint32_t ch32f1_spi_clock_get(SPI_TypeDef *spix)
return RCC_Clocks.PCLK1_Frequency;
}
return RCC_Clocks.PCLK2_Frequency;
return RCC_Clocks.PCLK2_Frequency;
}
void ch32f1_i2c_clock_and_io_init(I2C_TypeDef *i2cx)
@@ -4,8 +4,8 @@
* Version : V1.0.0
* Date : 2019/10/15
* Description : Library configuration file.
*******************************************************************************/
#ifndef __CH32F10x_CONF_H
*******************************************************************************/
#ifndef __CH32F10x_CONF_H
#define __CH32F10x_CONF_H
#include "ch32f10x_adc.h"
@@ -27,7 +27,7 @@
#include "ch32f10x_tim.h"
#include "ch32f10x_usart.h"
#include "ch32f10x_wwdg.h"
#include "ch32f10x_misc.h"
#include "ch32f10x_misc.h"
#endif /* __CH32F10x_CONF_H */
File diff suppressed because it is too large Load Diff