diff --git a/platform/emlib/inc/em_eusart.h b/platform/emlib/inc/em_eusart.h index afe84d9797d..b24fd365431 100644 --- a/platform/emlib/inc/em_eusart.h +++ b/platform/emlib/inc/em_eusart.h @@ -35,6 +35,10 @@ #include "em_eusart_compat.h" #include +#ifdef __cplusplus +extern "C" { +#endif + /* *INDENT-OFF* */ // ***************************************************************************** /// @addtogroup eusart EUSART - Extended USART @@ -1155,6 +1159,10 @@ __STATIC_INLINE void EUSART_IntSet(EUSART_TypeDef *eusart, uint32_t flags) eusart->IF_SET = flags; } +#ifdef __cplusplus +} +#endif + /** @} (end addtogroup eusart) */ #endif /* defined(EUART_PRESENT) || defined(EUSART_PRESENT) */ #endif /* EM_EUSART_H */