Skip to content

Commit 22807d0

Browse files
committed
Added header guards
1 parent 975ca4b commit 22807d0

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

src/utility/STM32Cube_FW/app_conf.h

+11
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
1+
//-----------------------------
2+
// @file app_conf.h
3+
// @author Kasper Meldgaard
4+
// @brief Wrapper for BLE app configuration based on comment by fpistm
5+
// (https://github.com/stm32duino/STM32duinoBLE/issues/34).
6+
// @date 15-11-2021
7+
// @copyright Copyright (c) 2021
8+
19
#ifndef APP_CONF_H
210
#define APP_CONF_H
311

12+
#include "ble_bufsize.h"
13+
#include "hw.h"
14+
415
#if __has_include("app_conf_custom.h")
516
#include "app_conf_custom.h"
617
#endif

src/utility/STM32Cube_FW/app_conf_default.h

+3-6
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,8 @@
1717
*/
1818

1919
/* Define to prevent recursive inclusion -------------------------------------*/
20-
#ifndef APP_CONF_H
21-
#define APP_CONF_H
22-
23-
#include "ble_bufsize.h"
24-
#include "hw.h"
20+
#ifndef APP_CONF_DEFAULT_H
21+
#define APP_CONF_DEFAULT_H
2522

2623
/******************************************************************************
2724
* Application Config
@@ -183,6 +180,6 @@
183180
*/
184181
#define CFG_BLE_LL_ONLY 1
185182

186-
#endif /* APP_CONF_H */
183+
#endif /* APP_CONF_DEFAULT_H */
187184

188185
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

0 commit comments

Comments
 (0)