Merge pull request #14686 from jeromecoutant/PR_CPP

STM32: correct __cplusplus brackets
pull/14741/head
Martin Kojtal 2021-06-02 13:59:26 +02:00 committed by GitHub
commit 0711e488a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
23 changed files with 81 additions and 11 deletions

View File

@ -40,4 +40,8 @@ extern "C" {
#endif // DEVICE_CAN
#ifdef __cplusplus
}
#endif
#endif

View File

@ -53,8 +53,10 @@ uint32_t i2c_get_timing(I2CName i2c, int hz);
void i2c_compute_presc_scldel_sdadel(uint32_t clock_src_freq, uint32_t I2C_speed);
uint32_t i2c_compute_scll_sclh(uint32_t clock_src_freq, uint32_t I2C_speed);
#endif // DEVICE_I2C
#ifdef __cplusplus
}
#endif
#endif // DEVICE_I2C
#endif

View File

@ -41,4 +41,8 @@ extern "C" {
#endif // DEVICE_CAN
#ifdef __cplusplus
}
#endif
#endif

View File

@ -45,4 +45,8 @@ extern "C" {
#endif // DEVICE_I2C
#ifdef __cplusplus
}
#endif
#endif

View File

@ -52,4 +52,8 @@ extern "C" {
#endif // DEVICE_CAN
#ifdef __cplusplus
}
#endif
#endif

View File

@ -44,4 +44,8 @@ extern "C" {
#endif // DEVICE_I2C
#ifdef __cplusplus
}
#endif
#endif

View File

@ -41,4 +41,8 @@ extern "C" {
#endif // DEVICE_CAN
#ifdef __cplusplus
}
#endif
#endif

View File

@ -67,8 +67,10 @@ uint32_t i2c_get_timing(I2CName i2c, int hz);
void i2c_compute_presc_scldel_sdadel(uint32_t clock_src_freq, uint32_t I2C_speed);
uint32_t i2c_compute_scll_sclh(uint32_t clock_src_freq, uint32_t I2C_speed);
#endif // DEVICE_I2C
#ifdef __cplusplus
}
#endif
#endif // DEVICE_I2C
#endif

View File

@ -70,4 +70,8 @@ extern "C" {
#endif // DEVICE_CAN
#ifdef __cplusplus
}
#endif
#endif

View File

@ -31,4 +31,8 @@ extern "C" {
#endif // DEVICE_I2C
#ifdef __cplusplus
}
#endif
#endif

View File

@ -71,4 +71,8 @@ extern "C" {
#endif // DEVICE_CAN
#ifdef __cplusplus
}
#endif
#endif

View File

@ -62,8 +62,10 @@ uint32_t i2c_get_timing(I2CName i2c, int hz);
void i2c_compute_presc_scldel_sdadel(uint32_t clock_src_freq, uint32_t I2C_speed);
uint32_t i2c_compute_scll_sclh(uint32_t clock_src_freq, uint32_t I2C_speed);
#endif // DEVICE_I2C
#ifdef __cplusplus
}
#endif
#endif // DEVICE_I2C
#endif

View File

@ -52,8 +52,10 @@ uint32_t i2c_get_timing(I2CName i2c, int hz);
void i2c_compute_presc_scldel_sdadel(uint32_t clock_src_freq, uint32_t I2C_speed);
uint32_t i2c_compute_scll_sclh(uint32_t clock_src_freq, uint32_t I2C_speed);
#endif // DEVICE_I2C
#ifdef __cplusplus
}
#endif
#endif // DEVICE_I2C
#endif

View File

@ -48,8 +48,10 @@ uint32_t i2c_get_timing(I2CName i2c, int hz);
void i2c_compute_presc_scldel_sdadel(uint32_t clock_src_freq, uint32_t I2C_speed);
uint32_t i2c_compute_scll_sclh(uint32_t clock_src_freq, uint32_t I2C_speed);
#endif // DEVICE_I2C
#ifdef __cplusplus
}
#endif
#endif // DEVICE_I2C
#endif

View File

@ -48,8 +48,10 @@ uint32_t i2c_get_timing(I2CName i2c, int hz);
void i2c_compute_presc_scldel_sdadel(uint32_t clock_src_freq, uint32_t I2C_speed);
uint32_t i2c_compute_scll_sclh(uint32_t clock_src_freq, uint32_t I2C_speed);
#endif // DEVICE_I2C
#ifdef __cplusplus
}
#endif
#endif // DEVICE_I2C
#endif

View File

@ -59,8 +59,10 @@ uint32_t i2c_get_timing(I2CName i2c, int hz);
void i2c_compute_presc_scldel_sdadel(uint32_t clock_src_freq, uint32_t I2C_speed);
uint32_t i2c_compute_scll_sclh(uint32_t clock_src_freq, uint32_t I2C_speed);
#endif // DEVICE_I2C
#ifdef __cplusplus
}
#endif
#endif // DEVICE_I2C
#endif

View File

@ -31,4 +31,8 @@ extern "C" {
#endif // DEVICE_I2C
#ifdef __cplusplus
}
#endif
#endif

View File

@ -42,4 +42,8 @@ extern "C" {
#endif // DEVICE_CAN
#ifdef __cplusplus
}
#endif
#endif

View File

@ -62,8 +62,10 @@ uint32_t i2c_get_timing(I2CName i2c, int hz);
void i2c_compute_presc_scldel_sdadel(uint32_t clock_src_freq, uint32_t I2C_speed);
uint32_t i2c_compute_scll_sclh(uint32_t clock_src_freq, uint32_t I2C_speed);
#endif // DEVICE_I2C
#ifdef __cplusplus
}
#endif
#endif // DEVICE_I2C
#endif

View File

@ -39,4 +39,8 @@ extern "C" {
#endif // DEVICE_CAN
#ifdef __cplusplus
}
#endif
#endif

View File

@ -48,8 +48,10 @@ uint32_t i2c_get_timing(I2CName i2c, int hz);
void i2c_compute_presc_scldel_sdadel(uint32_t clock_src_freq, uint32_t I2C_speed);
uint32_t i2c_compute_scll_sclh(uint32_t clock_src_freq, uint32_t I2C_speed);
#endif // DEVICE_I2C
#ifdef __cplusplus
}
#endif
#endif // DEVICE_I2C
#endif

View File

@ -55,8 +55,10 @@ uint32_t i2c_get_timing(I2CName i2c, int hz);
void i2c_compute_presc_scldel_sdadel(uint32_t clock_src_freq, uint32_t I2C_speed);
uint32_t i2c_compute_scll_sclh(uint32_t clock_src_freq, uint32_t I2C_speed);
#endif // DEVICE_I2C
#ifdef __cplusplus
}
#endif
#endif // DEVICE_I2C
#endif

View File

@ -47,8 +47,10 @@ uint32_t i2c_get_timing(I2CName i2c, int hz);
void i2c_compute_presc_scldel_sdadel(uint32_t clock_src_freq, uint32_t I2C_speed);
uint32_t i2c_compute_scll_sclh(uint32_t clock_src_freq, uint32_t I2C_speed);
#endif // DEVICE_I2C
#ifdef __cplusplus
}
#endif
#endif // DEVICE_I2C
#endif