From 538234a2e068cf6429ce5693c583b897a103e031 Mon Sep 17 00:00:00 2001 From: Daniel Schick Date: Wed, 7 Aug 2024 16:05:22 +0200 Subject: [PATCH] Removed extra closing braces to avoid C++ compiler error Signed-off-by: aleks Merges https://github.com/espressif/esp-modbus/pull/67 --- modbus/mb_objects/include/mb_config.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modbus/mb_objects/include/mb_config.h b/modbus/mb_objects/include/mb_config.h index a1fdf4c..0e67c79 100644 --- a/modbus/mb_objects/include/mb_config.h +++ b/modbus/mb_objects/include/mb_config.h @@ -160,9 +160,7 @@ extern "C" { #define MB_FUNC_READWRITE_HOLDING_ENABLED (1) /*! @} */ -#ifdef __cplusplus -} -#endif + #if MB_MASTER_RTU_ENABLED || MB_MASTER_ASCII_ENABLED || MB_MASTER_TCP_ENABLED /*! \brief If master send a broadcast frame, the master will wait time of convert to delay,