mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-22 19:44:24 +08:00
format wch bsp code.
This commit is contained in:
@@ -14,5 +14,5 @@
|
||||
|
||||
int main(void)
|
||||
{
|
||||
return RT_EOK;
|
||||
return RT_EOK;
|
||||
}
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user