You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2022/11/03 13:41:22 UTC

[incubator-nuttx] 03/03: Fix mcb1700.h:21:9: error: '__BOARDSS_ARM_LPC17XX_40XX_MCB1700_SRC_MCB1700_H' is used as a header guard here, followed by #define of a different macro

This is an automated email from the ASF dual-hosted git repository.

pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit b048428180f85107c3d483cefebeaa03406e82a1
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Wed Nov 2 21:39:06 2022 +0800

    Fix mcb1700.h:21:9: error: '__BOARDSS_ARM_LPC17XX_40XX_MCB1700_SRC_MCB1700_H' is used as a header guard here, followed by #define of a different macro
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 boards/arm/lpc17xx_40xx/mcb1700/src/mcb1700.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/boards/arm/lpc17xx_40xx/mcb1700/src/mcb1700.h b/boards/arm/lpc17xx_40xx/mcb1700/src/mcb1700.h
index 7044b3f0ae..28043f4939 100644
--- a/boards/arm/lpc17xx_40xx/mcb1700/src/mcb1700.h
+++ b/boards/arm/lpc17xx_40xx/mcb1700/src/mcb1700.h
@@ -19,7 +19,7 @@
  ****************************************************************************/
 
 #ifndef __BOARDSS_ARM_LPC17XX_40XX_MCB1700_SRC_MCB1700_H
-#define __BOARDSS_ARM_LPC17XX_40XX__MCB1700_SRC_MCB1700_H
+#define __BOARDSS_ARM_LPC17XX_40XX_MCB1700_SRC_MCB1700_H
 
 /****************************************************************************
  * Included Files
@@ -106,4 +106,4 @@ int mcb1700_adc_setup(void);
 #endif
 
 #endif /* __ASSEMBLY__ */
-#endif /* __BOARDSS_ARM_LPC17XX_40XX__MCB1700_SRC_MCB1700_H */
+#endif /* __BOARDSS_ARM_LPC17XX_40XX_MCB1700_SRC_MCB1700_H */