diff --git a/targets/TARGET_STM/TARGET_STM32F0/pwmout_device.h b/targets/TARGET_STM/TARGET_STM32F0/pwmout_device.h index 702285b81d..db4ff24054 100644 --- a/targets/TARGET_STM/TARGET_STM32F0/pwmout_device.h +++ b/targets/TARGET_STM/TARGET_STM32F0/pwmout_device.h @@ -56,4 +56,8 @@ extern const pwm_apb_map_t pwm_apb_map_table[]; #endif // DEVICE_PWMOUT +#ifdef __cplusplus +} +#endif + #endif diff --git a/targets/TARGET_STM/TARGET_STM32F1/pwmout_device.h b/targets/TARGET_STM/TARGET_STM32F1/pwmout_device.h index 070149e480..bc6f761f18 100644 --- a/targets/TARGET_STM/TARGET_STM32F1/pwmout_device.h +++ b/targets/TARGET_STM/TARGET_STM32F1/pwmout_device.h @@ -54,4 +54,8 @@ extern const pwm_apb_map_t pwm_apb_map_table[]; #endif // DEVICE_PWMOUT +#ifdef __cplusplus +} +#endif + #endif diff --git a/targets/TARGET_STM/TARGET_STM32F2/pwmout_device.h b/targets/TARGET_STM/TARGET_STM32F2/pwmout_device.h index 070149e480..bc6f761f18 100644 --- a/targets/TARGET_STM/TARGET_STM32F2/pwmout_device.h +++ b/targets/TARGET_STM/TARGET_STM32F2/pwmout_device.h @@ -54,4 +54,8 @@ extern const pwm_apb_map_t pwm_apb_map_table[]; #endif // DEVICE_PWMOUT +#ifdef __cplusplus +} +#endif + #endif diff --git a/targets/TARGET_STM/TARGET_STM32F3/pwmout_device.h b/targets/TARGET_STM/TARGET_STM32F3/pwmout_device.h index 070149e480..bc6f761f18 100644 --- a/targets/TARGET_STM/TARGET_STM32F3/pwmout_device.h +++ b/targets/TARGET_STM/TARGET_STM32F3/pwmout_device.h @@ -54,4 +54,8 @@ extern const pwm_apb_map_t pwm_apb_map_table[]; #endif // DEVICE_PWMOUT +#ifdef __cplusplus +} +#endif + #endif diff --git a/targets/TARGET_STM/TARGET_STM32F7/pwmout_device.h b/targets/TARGET_STM/TARGET_STM32F7/pwmout_device.h index 070149e480..bc6f761f18 100644 --- a/targets/TARGET_STM/TARGET_STM32F7/pwmout_device.h +++ b/targets/TARGET_STM/TARGET_STM32F7/pwmout_device.h @@ -54,4 +54,8 @@ extern const pwm_apb_map_t pwm_apb_map_table[]; #endif // DEVICE_PWMOUT +#ifdef __cplusplus +} +#endif + #endif diff --git a/targets/TARGET_STM/TARGET_STM32H7/pwmout_device.h b/targets/TARGET_STM/TARGET_STM32H7/pwmout_device.h index 070149e480..bc6f761f18 100644 --- a/targets/TARGET_STM/TARGET_STM32H7/pwmout_device.h +++ b/targets/TARGET_STM/TARGET_STM32H7/pwmout_device.h @@ -54,4 +54,8 @@ extern const pwm_apb_map_t pwm_apb_map_table[]; #endif // DEVICE_PWMOUT +#ifdef __cplusplus +} +#endif + #endif diff --git a/targets/TARGET_STM/TARGET_STM32L0/pwmout_device.h b/targets/TARGET_STM/TARGET_STM32L0/pwmout_device.h index 3a27fc3f3d..9a85d834b2 100644 --- a/targets/TARGET_STM/TARGET_STM32L0/pwmout_device.h +++ b/targets/TARGET_STM/TARGET_STM32L0/pwmout_device.h @@ -56,4 +56,8 @@ extern const pwm_apb_map_t pwm_apb_map_table[]; #endif // DEVICE_PWMOUT +#ifdef __cplusplus +} +#endif + #endif diff --git a/targets/TARGET_STM/TARGET_STM32L1/pwmout_device.h b/targets/TARGET_STM/TARGET_STM32L1/pwmout_device.h index a3d22c6965..757628cfd4 100644 --- a/targets/TARGET_STM/TARGET_STM32L1/pwmout_device.h +++ b/targets/TARGET_STM/TARGET_STM32L1/pwmout_device.h @@ -57,4 +57,8 @@ extern const pwm_apb_map_t pwm_apb_map_table[]; #endif // DEVICE_PWMOUT +#ifdef __cplusplus +} +#endif + #endif diff --git a/targets/TARGET_STM/TARGET_STM32L4/pwmout_device.h b/targets/TARGET_STM/TARGET_STM32L4/pwmout_device.h index 070149e480..bc6f761f18 100644 --- a/targets/TARGET_STM/TARGET_STM32L4/pwmout_device.h +++ b/targets/TARGET_STM/TARGET_STM32L4/pwmout_device.h @@ -54,4 +54,8 @@ extern const pwm_apb_map_t pwm_apb_map_table[]; #endif // DEVICE_PWMOUT +#ifdef __cplusplus +} +#endif + #endif diff --git a/targets/TARGET_STM/TARGET_STM32WB/pwmout_device.h b/targets/TARGET_STM/TARGET_STM32WB/pwmout_device.h index bf1775d344..20f6023844 100644 --- a/targets/TARGET_STM/TARGET_STM32WB/pwmout_device.h +++ b/targets/TARGET_STM/TARGET_STM32WB/pwmout_device.h @@ -56,4 +56,8 @@ extern const pwm_apb_map_t pwm_apb_map_table[]; #endif // DEVICE_PWMOUT +#ifdef __cplusplus +} +#endif + #endif