8000 [Bugfix] incorrect preprocessor statement · h2zero/NimBLE-Arduino@69ccfac · GitHub
[go: up one dir, main page]

Skip to content

Commit 69ccfac

Browse files
committed
[Bugfix] incorrect preprocessor statement
1 parent 2634f77 commit 69ccfac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NimBLEDevice.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,7 @@ bool NimBLEDevice::init(const std::string& deviceName) {
889889
esp_bt_controller_mem_release(ESP_BT_MODE_CLASSIC_BT);
890890
# endif
891891

892-
# if ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(5, 0, 0) | !defined(CONFIG_NIMBLE_CPP_IDF)
892+
# if ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(5, 0, 0) || !defined(CONFIG_NIMBLE_CPP_IDF)
893893
esp_bt_controller_config_t bt_cfg = BT_CONTROLLER_INIT_CONFIG_DEFAULT();
894894
# if defined(CONFIG_IDF_TARGET_ESP32)
895895
bt_cfg.mode = ESP_BT_MODE_BLE;

0 commit comments

Comments
 (0)
0