From 3edd670c71b29f8855206d7688ba67e12c7a24b7 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 18 Dec 2017 10:41:47 -0600 Subject: [PATCH] configs/stm32ldiscovery: Fix a mimatched #endif introduced in recent commit. --- configs/stm32ldiscovery/include/board.h | 30 ++++++++++++------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/configs/stm32ldiscovery/include/board.h b/configs/stm32ldiscovery/include/board.h index 6c2fc2a32d..fa3f7c59aa 100644 --- a/configs/stm32ldiscovery/include/board.h +++ b/configs/stm32ldiscovery/include/board.h @@ -1,8 +1,7 @@ /************************************************************************************ * configs/stm32ldiscovery/include/board.h - * include/arch/board/board.h * - * Copyright (C) 2013 Gregory Nutt. All rights reserved. + * Copyright (C) 2013, 2017 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -34,8 +33,8 @@ * ************************************************************************************/ -#ifndef __CONFIG_STM32LDISCOVERY_INCLUDE_BOARD_H -#define __CONFIG_STM32LDISCOVERY_INCLUDE_BOARD_H +#ifndef __CONFIGS_STM32LDISCOVERY_INCLUDE_BOARD_H +#define __CONFIGS_STM32LDISCOVERY_INCLUDE_BOARD_H /************************************************************************************ * Included Files @@ -275,20 +274,21 @@ #endif - -#undef EXTERN -#if defined(__cplusplus) -#define EXTERN extern "C" -extern "C" -{ -#else -#define EXTERN extern -#endif - /************************************************************************************ * Public Function Prototypes ************************************************************************************/ +#ifndef __ASSEMBLY__ + +#undef EXTERN +#if defined(__cplusplus) +# define EXTERN extern "C" +extern "C" +{ +#else +# define EXTERN extern +#endif + /**************************************************************************** * Name: stm32_slcd_initialize * @@ -308,4 +308,4 @@ int stm32_slcd_initialize(void); #endif #endif /* __ASSEMBLY__ */ -#endif /* __CONFIG_STM32LDISCOVERY_INCLUDE_BOARD_H */ +#endif /* __CONFIGS_STM32LDISCOVERY_INCLUDE_BOARD_H */