From dd2876c8ac734df1a040ac127c536f06515629df Mon Sep 17 00:00:00 2001 From: Szymon Szantula Date: Thu, 1 Aug 2019 14:41:11 +0200 Subject: [PATCH] __cplusplus guard fixed This error prevented using this header in cpp code directly. --- targets/TARGET_STM/TARGET_STM32F4/pwmout_device.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/targets/TARGET_STM/TARGET_STM32F4/pwmout_device.h b/targets/TARGET_STM/TARGET_STM32F4/pwmout_device.h index 070149e480..1d8e0cf0ee 100644 --- a/targets/TARGET_STM/TARGET_STM32F4/pwmout_device.h +++ b/targets/TARGET_STM/TARGET_STM32F4/pwmout_device.h @@ -54,4 +54,8 @@ extern const pwm_apb_map_t pwm_apb_map_table[]; #endif // DEVICE_PWMOUT +#ifdef __cplusplus +} +#endif + #endif