diff --git a/components/ulp/lp_core/lp_core/include/ulp_lp_core_print.h b/components/ulp/lp_core/lp_core/include/ulp_lp_core_print.h index 43a956b9be..acfdd12883 100644 --- a/components/ulp/lp_core/lp_core/include/ulp_lp_core_print.h +++ b/components/ulp/lp_core/lp_core/include/ulp_lp_core_print.h @@ -3,6 +3,11 @@ * * SPDX-License-Identifier: Apache-2.0 */ +#pragma once + +#ifdef __cplusplus +extern "C" { +#endif /** * @brief Print from the LP core @@ -15,3 +20,7 @@ * */ void lp_core_printf(const char* format, ...); + +#ifdef __cplusplus +} +#endif