Skip to content

Commit fcc11b8

Browse files
committed
Remove ifdef guards from BLE module sources
1 parent 096a08e commit fcc11b8

File tree

5 files changed

+0
-21
lines changed

5 files changed

+0
-21
lines changed

src/ble/BLEEndPoint.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@
3030

3131
#include <ble/BleConfig.h>
3232

33-
#if CONFIG_NETWORK_LAYER_BLE
3433
#include <lib/core/CHIPConfig.h>
35-
3634
#include <lib/support/BitFlags.h>
3735
#include <lib/support/CHIPFaultInjection.h>
3836
#include <lib/support/CodeUtils.h>
@@ -1498,5 +1496,3 @@ void BLEEndPoint::HandleUnsubscribeTimeout(chip::System::Layer * systemLayer, vo
14981496

14991497
} /* namespace Ble */
15001498
} /* namespace chip */
1501-
1502-
#endif /* CONFIG_NETWORK_LAYER_BLE */

src/ble/BleError.cpp

-5
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@
2424
#include <stddef.h>
2525

2626
#include <ble/BleConfig.h>
27-
28-
#if CONFIG_NETWORK_LAYER_BLE
29-
3027
#include <ble/BleError.h>
3128
#include <ble/BleLayer.h>
3229

@@ -140,5 +137,3 @@ bool FormatLayerError(char * buf, uint16_t bufSize, CHIP_ERROR err)
140137

141138
} /* namespace Ble */
142139
} /* namespace chip */
143-
144-
#endif // CONFIG_NETWORK_LAYER_BLE

src/ble/BleLayer.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@
5252

5353
#include <ble/BleConfig.h>
5454

55-
#if CONFIG_NETWORK_LAYER_BLE
56-
5755
#include <string.h>
5856

5957
#include <ble/BLEEndPoint.h>
@@ -788,5 +786,3 @@ void BleLayer::OnConnectionError(void * appState, CHIP_ERROR err)
788786

789787
} /* namespace Ble */
790788
} /* namespace chip */
791-
792-
#endif /* CONFIG_NETWORK_LAYER_BLE */

src/ble/BleUUID.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
*/
1818
#include <ble/BleConfig.h>
1919

20-
#if CONFIG_NETWORK_LAYER_BLE
21-
2220
#include <cctype>
2321
#include <cstdint>
2422
#include <cstring>
@@ -78,5 +76,3 @@ bool StringToUUID(const char * str, ChipBleUUID & uuid)
7876

7977
} /* namespace Ble */
8078
} /* namespace chip */
81-
82-
#endif /* CONFIG_NETWORK_LAYER_BLE */

src/ble/BtpEngine.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727

2828
#include <ble/BleConfig.h>
2929

30-
#if CONFIG_NETWORK_LAYER_BLE
31-
3230
#include <ble/BtpEngine.h>
3331

3432
#include <lib/support/BufferReader.h>
@@ -576,5 +574,3 @@ void BtpEngine::LogStateDebug() const
576574

577575
} /* namespace Ble */
578576
} /* namespace chip */
579-
580-
#endif /* CONFIG_NETWORK_LAYER_BLE */

0 commit comments

Comments
 (0)