mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #14686 from jeromecoutant/PR_CPP
STM32: correct __cplusplus bracketspull/14741/head
commit
0711e488a1
|
@ -40,4 +40,8 @@ extern "C" {
|
|||
|
||||
#endif // DEVICE_CAN
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -41,4 +41,8 @@ extern "C" {
|
|||
|
||||
#endif // DEVICE_CAN
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -45,4 +45,8 @@ extern "C" {
|
|||
|
||||
#endif // DEVICE_I2C
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -52,4 +52,8 @@ extern "C" {
|
|||
|
||||
#endif // DEVICE_CAN
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -44,4 +44,8 @@ extern "C" {
|
|||
|
||||
#endif // DEVICE_I2C
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -41,4 +41,8 @@ extern "C" {
|
|||
|
||||
#endif // DEVICE_CAN
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -70,4 +70,8 @@ extern "C" {
|
|||
|
||||
#endif // DEVICE_CAN
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -31,4 +31,8 @@ extern "C" {
|
|||
|
||||
#endif // DEVICE_I2C
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -71,4 +71,8 @@ extern "C" {
|
|||
|
||||
#endif // DEVICE_CAN
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -31,4 +31,8 @@ extern "C" {
|
|||
|
||||
#endif // DEVICE_I2C
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -42,4 +42,8 @@ extern "C" {
|
|||
|
||||
#endif // DEVICE_CAN
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -39,4 +39,8 @@ extern "C" {
|
|||
|
||||
#endif // DEVICE_CAN
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue