1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-27 07:32:22 +01:00

[bluetooth_proxy] [esp32_ble_tracker] [esp32_ble] Use C++17 nested namespace syntax (#9825)

This commit is contained in:
J. Nick Koston
2025-07-23 17:23:45 -10:00
committed by GitHub
parent 544cf9b9c0
commit ec2e0c50f1
15 changed files with 30 additions and 60 deletions

View File

@@ -21,8 +21,7 @@
#include <esp_gattc_api.h>
#include <esp_gatts_api.h>
namespace esphome {
namespace esp32_ble {
namespace esphome::esp32_ble {
// Maximum number of BLE scan results to buffer
// Sized to handle bursts of advertisements while allowing for processing delays
@@ -191,7 +190,6 @@ template<typename... Ts> class BLEDisableAction : public Action<Ts...> {
void play(Ts... x) override { global_ble->disable(); }
};
} // namespace esp32_ble
} // namespace esphome
} // namespace esphome::esp32_ble
#endif